Help! I’m not sure what functions I need to use!

Jhannis3

New Member
Joined
Dec 5, 2018
Messages
2
Hi,

I have a spreadsheet for work with bookings in it, there’s multiple columns but I need to transfer data from one cell to another based on the following

IF column A has a certain date in it AND column B has a certain time in it AND column C has a certain word in it then I want it to take the information from the row in column D which has all the column A,B,C matches in it (there should only ever be one row where all 3 match).

I’ve tried a combo of vlookup as well as IF,AND etc.. but nothing is quite working!

Any suggestions would be very gratefully received!
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Sounds like you need to create a Helper Column and do your VLOOKUP on that.

So perhaps insert an new Column A and then use =B1&C1&D1 to create a unique key of the values (You can hide this Column if you don't want it visible).

Then use your VLOOKUP to look in Column A and retrieve the value in Column E

If you need to do you can use VLOOKUP like;

Code:
=VLOOKUP(CertainDate&CertainTime&CertainWord,A:E,5,False)

Replace the CertainDate, Time and Word with actual vales or cell references, it is the "&" you need to link them all.
 
Upvote 0
Hi,

You can also use an Array Entered INDEX/MATCH, confirmed by CSE (Control, Shift, Enter, instructions below):


Book1
ABCDEF
112/5/201812:00wordbingobingo
212/5/20181:00wordmiss
3
4Date12/5/2018
5Time12:00
6Wordword
Sheet379
Cell Formulas
RangeFormula
F1{=INDEX(D1:D2,MATCH(B4&B5&B6,A1:A2&B1:B2&C1:C2,0))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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