Forum Discussion
Andrew58
Dec 06, 2021Copper Contributor
Help with an Excel Formula/Command Please
Good Afternoon, I need help with a formula which I am trying to put into an Excel Spreadsheet please. I'm not sure how to do what I want to do. Please See The Diagram Below. I am wanting to put...
- Dec 07, 2021Glad to help. Based on your screenshots, I thought cells I3:I6 were merged, which means the value is stored in I3. It looks like you merged I4:I6, which is why your correction worked! I really glad that this caused you to do some research and learn about some awesome formula capabilities in Excel.
Please mark one of my responses as the Best Response. Thanks!
Don Kirkham
Dec 06, 2021MVP
You can use nested IF statements to achieve the desired result. This should work:
=IF(I3=G3,H3,IF(I3=G4,H4,IF(I3=G5,H5,IF(I3=G6,H6))))
If this answers your request, please consider marking it as the approved solution. Thank you!
Andrew58
Dec 06, 2021Copper Contributor
Hi Don,
Thank you so much for taking time to try & help me with the required formula.
I think we are getting close with your suggestion & I'm pleased that there obviously is a solution out there to be found, however the formula you gave me just didn't quite work. I had a play around but couldn't get it right.
Here's (a screenshot of) what came up on the sheet for me,
Could it be something to do with,
* the possible requirement for a 'value if false' ?
* Gaps in the formula after the commas ?
* Use of the 'square brackets' [ and ] ?
I hope this helps you to possibly 'tweek it up' a little, so it works 🙂
Many Thanks,
Andrew