Changing format

pablo147

New Member
Joined
Sep 12, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I was given some help making this spreadsheet to monitor the use of clothing discounts which would alert if any certain person went over $200. At the moment the sheet is set up to where you simply input all details about the purchase and move onto the next. What I'm looking to change is that when inputting a new purchase for a certain person that a separate column or cell contains their running total or cumulative frequency of their amount spent, I'm not very fussed if the layout has to be changed to accomplish this just need the underlying premise that - if a person goes over $200, all cells containing their information will highlight.


Clothing.xlsx
ABCDE
1DateTeam member nameItems Total amount (Before discount)Authorising Manager
23/06/2023jacob csocks x111nathan
35/06/2023will rboots85jackson
48/06/2023sam gpants x115mat
511/06/2023william junderwear pack x112dan
615/06/2023will rpants x2 66dan
716/06/2023jake hshirt x1 & pants x199dan
820/06/2023will rpants x155jackson
923/06/2023william jsocks x3 & shorts x140nathan
1028/06/2023jake hpants x2100dan
1129/06/2023jake hpants x110nathan
EXAMPLE
Cell Formulas
RangeFormula
D2D2=11
D4D4=15
D5D5=12
D9D9=40
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:E12,A13:B13,D13:E14,A14,A15:E50Expression=SUMIFS($D$2:$D$50,$B$2:$B$50,$B2)>200textNO
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi Pablo147,

Change the formula in the conditional formatting to the below and the range to be the coumns $A:$E that it applies to. This will then highlight the entire row across the data that sits inside columns A to E...

Excel Formula:
=SUMIF($B:$B,$B2,$D:$D)>200

Applies to ...

=$A:$E

ConFor.png
 
Upvote 0

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

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