IF Formula Assistance

ExcelRaceRatings

New Member
Joined
Jan 9, 2016
Messages
25
Office Version
  1. 2016
Platform
  1. Windows
Hello,

Hoping someone can assist with an IF Formula issue i am having as per the below photo.

What i would like to achieve is to adjust the current formula in Column BV (Revised Fig) so that the calculation is only performed on figures in column AO (RTG) based on the criteria in Column BX (Race ID). The way it is currently set up is that it is performing the calculation on all figures in Column AO (RTG) and thats not what i am after.

So basically in BV2:BV8 it should be revising the figures of AO2:AO8 from 14 through to 1 because BX2:BX8 is RACE ID *1.

Any assistance would be greatly appreciated?


1599539063952.png
 
Ok, this should work, but only if your Race ID values are all grouped together. If appears that this is the case, based on your screenshot. But if not, you'll want to sort by Race ID to make sure they'll all grouped.

Excel Formula:
=IF(AO2="","",MIN(MAX(CEILING((AO2-MIN(OFFSET($AO$1,MATCH(BX2,$BX$2:$BX$250000,0),,COUNTIF($BX$2:$BX$250000,BX2))))/((MAX(OFFSET($AO$1,MATCH(BX2,$BX$2:$BX$250000,0),,COUNTIF($BX$2:$BX$250000,BX2)))-MIN(OFFSET($AO$1,MATCH(BX2,$BX$2:$BX$250000,0),,COUNTIF($BX$2:$BX$250000,BX2))))/14),1),1),14))
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,214,784
Messages
6,121,540
Members
449,038
Latest member
Guest1337

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