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

HuskyJones

New Member
Joined
Sep 30, 2015
Messages
31
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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,516
Office Version
  1. 365
Platform
  1. Windows
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:

Forum statistics

Threads
1,136,328
Messages
5,675,136
Members
419,551
Latest member
thangxpm

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
Top