Syntax help: Match Cells Pick Value

Rustyf2003

New Member
Joined
Nov 20, 2009
Messages
17
Greetings from the Bluegrass State -
Have a time with much calculation - On final Round though I am having difficulty with this one

Cell: B3 contains a date entered by User

Cells: G15 through G30 contain dates
Cells: H15 through H30 contain Values

Am Looking to AutoFill Cell C3 with the VALUE found in respective H Row where B3 = G##

Any help much appreciated - and please know I HAVE TRIED TO FIGURE THIS OUT:)
r
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hello,

If you just have one occurance of the lookup date (B3) try the VLOOKUP in C3,

Code:
=VLOOKUP(B3,G15:H30,2,FALSE)

If you have multiple occurances & you need to show all the matching dates,

C3, Confirmed with Control+Shift+Enter, not just Enter. copy down...

Code:
=INDEX($H$15:$H$30,SMALL(IF($G$15:$G$30=$B$3,ROW($H$15:$H$30)-ROW($H$15)+1),ROWS(C$3:C3)))
 
Upvote 0
Thanks Haseeb: I had tried variations of the VLookup without success
and the Index(syntax) didn't provide a result

Cell B3 = 8/1/2011

Cell G15 = 8/1/2011 { Cell H15 = 29
Cell G16 = 8/1/2012 { Cell H16 = 41
Cell G17 = 8/1/2013 { Cell H17 = 53
and continues
..............

My Need
In Cell C3 I need to autopopulate the value from the matched B and G Cells
If B3 = G15 - I Need C3 to fill with value from H15 (29)
If B3 = G16 - I Need C3 to fill with value from H16 (41)
If B3 = G17 - I Need C3 to fill with value from H17 (53)

Again, any assistance and guidance is much appreciated
Rusty
 
Upvote 0
You need to press Control+Shift+Enter, not just Enter. in the INDEX(.....
Select C3, press F2 then hit Control+Shift+Enter.

Copy down.
 
Upvote 0

Forum statistics

Threads
1,224,568
Messages
6,179,595
Members
452,927
Latest member
whitfieldcraig

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