VBA formula to compare and select largest value

On the "Reduced_Data" sheet, I need to take an additional step that I can't work into the formula.
For ONLY column A "F1", "F2", or "F3" -

Formulas in columns U, V, W X
Net Rates 1 OLD DIM
``````=IF(VLOOKUP(\$S2,INDIRECT(\$A2&"_1"),\$C2,TRUE)*\$S2>VLOOKUP(\$S2,INDIRECT(\$A2&"_MIN_1"),\$C2,TRUE),VLOOKUP(\$S2,INDIRECT(\$A2&"_1"),\$C2,TRUE)*\$S2,VLOOKUP(\$S2,INDIRECT(\$A2&"_MIN_1"),\$C2,TRUE))
``````

Net Rates 2 OLD DIM
``````=IF(VLOOKUP(\$S2,INDIRECT(\$A2&"_2"),\$C2,TRUE)*\$S2>VLOOKUP(\$S2,INDIRECT(\$A2&"_MIN_2"),\$C2,TRUE),VLOOKUP(\$S2,INDIRECT(\$A2&"_2"),\$C2,TRUE)*\$S2,VLOOKUP(\$S2,INDIRECT(\$A2&"_MIN_2"),\$C2,TRUE))
``````

Net Rates 1 NEW DIM
``````=IF(VLOOKUP(\$T2,INDIRECT(\$A2&"_1"),\$C2,TRUE)*\$T2>VLOOKUP(\$T2,INDIRECT(\$A2&"_MIN_1"),\$C2,TRUE),VLOOKUP(\$T2,INDIRECT(\$A2&"_1"),\$C2,TRUE)*\$T2,VLOOKUP(\$T2,INDIRECT(\$A2&"_MIN_1"),\$C2,TRUE))
``````

Net Rates 2 NEW DIM
``````=IF(VLOOKUP(\$T2,INDIRECT(\$A2&"_2"),\$C2,TRUE)*\$T2>VLOOKUP(\$T2,INDIRECT(\$A2&"_MIN_2"),\$C2,TRUE),VLOOKUP(\$T2,INDIRECT(\$A2&"_2"),\$C2,TRUE)*\$T2,VLOOKUP(\$T2,INDIRECT(\$A2&"_MIN_2"),\$C2,TRUE))
``````

* Enter formulas (only in rows where column A = OR{"F1", "F2", "F3"})
* Copy down all rows each column
* Save as value
formula.xlsx
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:

i have added the requirement into the columns U, V, W X.

currently, you have REF error and that is not something caused with my formula, it is becuase you used indirect method for a reference lookup table which does not exist. i assume you know that.
formula.xlsx
0
Author Commented:
@ProfessorJimJam - is this a VBA or just formulas pasted in the excel file?
0
Commented:
Formula
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.