I've got an google sheet that I copy paste into an excel sheet. One of the columns in the google sheet contains options that a client selected out of; Lift Pass, Rentals, Lessons, and Helmet The selected options (Lift Pass, Helmet, Rentals, Lessons) are in one cell, with the client info in separate cells.
What I'm trying to do is have an If function return 1 if certain products are selected. Currently I can get the function to work if there's only one product selected (I.e. "Lift Pass" only), but I can't figure out how to make it work with multiple products selected.
My working functions:
Lesson Only:
=IF(AND(NOT(OR('Paste Here'!B2="Lift Pass",'Paste Here'!B2="Rentals")),'Paste Here'!B2="Lessons"),1,"")
Rental Only:
=IF(AND('Paste Here'!B2="Rentals",NOT(OR('Paste Here'!B2="Lift Pass",'Paste Here'!B2="Lessons"))),1,"")
Lift Pass only:
=IF(AND('Paste Here'!B2="Lift Pass",NOT(OR('Paste Here'!B2="Rentals",'Paste Here'!B2="Lessons"))),1,"")
The products are listed in the B:B column. I've tried a SUMIF, COUNTIF and a few others only to receive #VALUE back. Each client should end up with a 1 under the column that specifies what products they've ordered.
This is the data I'm working with:
Help?
