FORMULA CORRECTION

annadinesh

Board Regular
Joined
Mar 1, 2017
Messages
134
Office Version
  1. 2019
Platform
  1. Windows
PMS Report - E340625.02.2025
Target AchievmentBalanceRequired /Day
12077437.00

Date is on D1
target value for the month in on A3
Acheivement as on date is on B3
Balance target is on C3 (A3-B3)

Required Per Day in on D3.

I have a formula on D3 is =ROUNDUP(C3/(EOMONTH(D1,0)-D1-SUMPRODUCT(-(WEEKDAY(ROW(INDIRECT(EOMONTH(TODAY(),-1)+1&":"&EOMONTH(TODAY(),0))))=1))),0)

as per formula the per day requirement to achieve the target is showing 7

but as only 3 days left to end February Month. as per balance target the per day requirement should be 15 (roundup value), but it showing 7

please correct the formula or provide another formula


regards


Dinesh
 
Maybe...
Book1xxxx.xlsb
ABCD
1PMS Report - E340625/02/2025
2TargetAchievmentBalanceRequired /Day
3120774315.00
Sheet9
Cell Formulas
RangeFormula
B1B1=TODAY()
D3D3=ROUNDUP(C3/(NETWORKDAYS(B1,EOMONTH(B1,0))-1),0)
 
Upvote 0
Other solutions that may suit you

=ROUNDUP(C3 / MAX(1, EOMONTH(B1, 0) - B1 - SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(B1+1&":"&EOMONTH(B1, 0)))) = 1))), 0)


=ROUNDUP(C3 / (EOMONTH(B1, 0) - B1), 0)
 
Upvote 0
Solution

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