Hi
I have attached the excel sheet and written my problem plz read and find the best solution for me.
thanks in advance
Hi
I have attached the excel sheet and written my problem plz read and find the best solution for me.
thanks in advance
hi there. looks like your formula's working fine? you could shorten it to this though
=VLOOKUP(B10,E3:G6,IF(C10="Staff",2,3),0)*F10
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
glad to help. 2 would still be manageable. assuming "Staff" & "VIP" gets concessional rates:
=VLOOKUP(B10,E3:G6,IF(OR(C10={"Staff","VIP"}),2,3),0)*F10
if you get a long list, then you should probably put them in a table with values 2 or 3 beside them. for eg.
Staff 2 VIP 2 Job 3 DS 3
then do a VLOOKUP, assuming table in K3:L6:
=VLOOKUP(B10,E3:G6,VLOOKUP(C10,K3:L6,2,0),0)*F10
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks