Need help with nested IF() fucntion.

ExcelLuv92

New Member
Joined
Jun 17, 2015
Messages
4
Hello,

I'm trying to create a visual data dashboard for my company. This particular data gauge will show what the top order delay reason was for a given time period.

I need help writing an IF() function for it. I'm trying to get the needle on this gauge to line up in the middle of the correct label depending on which number from the data located in A28:B33 is bigger. This data is reference to data located in a pivot chart using the GETPIVOTDATA() function.

So for the guage currently shown I have the function =IF(B29>B30,F29,F30) located in D19.

How do I compare all of the data in A28:B33 to return the correct midpoint ?




Capture.png
 

Some videos you may like

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Watch MrExcel Video

Forum statistics

Threads
1,123,158
Messages
5,600,054
Members
414,357
Latest member
Gemma_R

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
Top