ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Conditional Formatting (https://www.excelbanter.com/new-users-excel/249600-conditional-formatting.html)

jc

Conditional Formatting
 
New to this....

I have a list of dollar amounts in column A. In column B, a 1 or 2 (yes or
no) depending on whether the bid was awarded or not. I need to create a
running total everytime a 1 is added to column B that equals the total of the
dollar amounts next to each "1".

Bernard Liengme

Conditional Formatting
 
=SUMIF(B:B,1,A:A)
will work provided the columns have nothing else in them but the data for
this topic.
Otherwise, somethink like this with your actual ranges
=SUMIF(B1:B100,1,A1:A100)
BTW, this is not 'formatting' - that only changes the appearance of things.
You need a formula to conditionally sum a range
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme



"JC" wrote in message
...
New to this....

I have a list of dollar amounts in column A. In column B, a 1 or 2 (yes
or
no) depending on whether the bid was awarded or not. I need to create a
running total everytime a 1 is added to column B that equals the total of
the
dollar amounts next to each "1".




All times are GMT +1. The time now is 01:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com