Help with IF Function Reference

tenma123

New Member
Joined
May 17, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi, could someone help me with a formula?





I'm trying to return the values in C4:F4 if H5:J5 is equal to C5:F5....see example below


1684340789618.png









So H4 would be equal to "Q1", I4 would be equal to "Q2", and J4 would be equal to "Q3" and I would be able to autofill. Thank you very much for help in advance.
 

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)
Is this what you mean?

Book1
CDEFGHI
4Q1Q2Q3Q4Q1Q4
575.76%54.34%44.66%45.43%75.76%45.43%
Sheet1
Cell Formulas
RangeFormula
H4:I4H4=INDEX($C$4:$F$4,MATCH(H5,$C$5:$F$5,0))
 
Upvote 1
Solution
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Help with IF Function Reference
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
It works! Thanks so much for your help kweaver.

Apologies for breaking the cross-posting rule, Fluff, I wasn't aware. Will avoid doing so in the future.
 
Upvote 0

Forum statistics

Threads
1,215,396
Messages
6,124,685
Members
449,179
Latest member
kfhw720

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