IF formula not robust enough

RMAllen18

New Member
Joined
Jun 10, 2014
Messages
2
Hello,
I am trying to calculate headcount needed based off of volume. There is a toggle used in the calculation that I can say I need per 100 units of volume, per 200, etc. but I only went up to the toggle value times 4. I need the formula to possibly support a much larger volume such as 40 times the toggle number. Below is the current formula I am using. Can anyone help with a better formula to use in this scenario please?
=IF(D2>=$F$2*4,4,IF(D2>=$F$2*3,3, IF(D2>=$F$2*2,2,IF(D2>=$F$2*1,1,0))))
Column A
Column B
Column C
Column D
Column E
Column F
Row 1
Month 1
Month 2
Month 3
Month 4
Toggle
Row 2
100
700
1,300
200
Row 3 (RESULT)
3
6

<tbody>
</tbody>
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Thanks Andrew! I don't really want another tab or hidden columns though. I was hoping to keep it simple as the finished spreadsheet already has multiple tabs which all feed into a Detailed Income Statement. Do you know any formula I can utilize with what I am calling the Toggle field?
 
Upvote 0

Forum statistics

Threads
1,215,062
Messages
6,122,923
Members
449,094
Latest member
teemeren

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