calculate the days ...

Ambiguooous

New Member
Joined
Jun 6, 2018
Messages
30
Hi everyone

:confused: I have a daily report showing some figures this report including one column to calculate the current percentage and there is another column shows the agreed(approved) percentage for every customer "raw".

My boss has requested from me to show in my report for those customer who breach the agreed percentage (the current percentage is greater than the agreed percentage) to show for how many days this has been breached or on other words since which day this customer is breaching the agreed percentage .. and then to be cleared if there is no breach.


I wish i could explain the idea ...


nP6RClJ


Example

[TABLE="width: 267"]
<tbody>[TR]
[TD]Agreed %[/TD]
[TD]Current %[/TD]
[TD]Breach[/TD]
[/TR]
[TR]
[TD]60%[/TD]
[TD]58%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]70%[/TD]
[TD]68%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]60%[/TD]
[TD]80%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]60%[/TD]
[TD]50%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]70%[/TD]
[TD]77%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]60%[/TD]
[TD]55%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]60%[/TD]
[TD]57%[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


nP6RClJ
https://imgur.com/a/nP6RClJ

https://ibb.co/er9nMV
 
Last edited:

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Maybe this, but it won't be able to show how many days, without date data
drag formula down as required

Excel 2007
ABCD
1Agreed %Current %Breach
260%58%OK
Sheet2
Cell Formulas
RangeFormula
C2=IF(B2>A2,"Breached","OK")
 
Last edited:
Upvote 0
Maybe this, but it won't be able to show how many days, without date data
drag formula down as required
Excel 2007
ABCD

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "]Agreed %[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "]Current %[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "]Breach[/TD]
[TD="align: right"][/TD]

[TD="align: center"]2[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"]60%[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] , align: right"]58%[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FAFAFA]#FAFAFA[/URL] "]OK[/TD]
[TD="align: right"][/TD]

</tbody>
Sheet2

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E0E0F0]#E0E0F0[/URL] "]C2[/TH]
[TD="align: left"]=IF(B2>A2,"Breached","OK")[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]


Thank you brother for this .. however what i need is "the breach duration" is there any way to know that !!!
 
Upvote 0
Still won't work.
You will need the today date, which you say you have AND the date the data started
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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