Vlookup + IF or a better way ??? Please!

HuskyJones

New Member
Joined
Sep 30, 2015
Messages
45
Office Version
  1. 365
Platform
  1. Windows
Hey folks
Have a column (R) to populate with data depending on the answers in several other columns.

I've started it with ....
=IF(S5<>"",VLOOKUP(S5,'Look Up Tables'!$T$2:$V$29,3,FALSE),"********")

Then in the ******* I need these options from cols AA, O & P to enter the correct treatment
AA + O + P = treatment
950 + First + Attended = pre assess
950 + Follow up + Attended = pre assess
950 + Telephone + Attended = Telephone Follow-Up Appointment
301 + First + Attended = First Attendance Single-Professional
301 + Follow up + Attended = Follow up singe professional
120 + First + Attended = First Attendance Single-Professional
120 + Follow up + Attended = Follow up singe professional
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
If i understand then create another look up table and concatenate the 3 cells together seperated by | eg:

=VLOOKUP(AA5&"|"&O5&"|"&P5,'Look Up Tables'!$T$40:$V$50,2,FALSE)

then in your look up table have 950|First|Attended and pre assess etc
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top