troubleshooting Question

Find the closest value in columns in excel

Avatar of pmandair
pmandair asked on
Microsoft ExcelMicrosoft Office
27 Comments3 Solutions249 ViewsLast Modified:

I want to compare a value in one column with values in other three columns, then output the closest value (without going over) and the column name of the closest value.

For example, I want to compare the value in Y4 col to Y1,Y2 and Y3 and output the results in Closest Value and Closest Column.

Y1               Y2              Y3             Y4         Closest Value      Closest Column
20%      30%      21%      19%      20%               Y1
19%      20%      18%      17%      18%               Y3

I need an excel formula not the VBA code. I'd greatly appreciate any help!

Rob Henson
Finance Analyst

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 27 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 27 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros