ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Checking Filled Columns and Adding up value above (https://www.excelbanter.com/excel-worksheet-functions/198997-checking-filled-columns-adding-up-value-above.html)

Sungibungi

Checking Filled Columns and Adding up value above
 
I'm trying to see which columns are filled with data and then add up the
value above it.

For example:

A B C
1 500 400 300
2 1 2

---------------
In this case, I want to look at row 2 and see that column A and B are
filled, and thus sum up only column A and B of row 1. It seems like a simple
concept but I can't seem to figure out how to do this.

Thanks a lot in advance.

T. Valko

Checking Filled Columns and Adding up value above
 
Maybe this:

=SUMIF(A2:C2,"<",A1:C1)

--
Biff
Microsoft Excel MVP


"Sungibungi" wrote in message
...
I'm trying to see which columns are filled with data and then add up the
value above it.

For example:

A B C
1 500 400 300
2 1 2

---------------
In this case, I want to look at row 2 and see that column A and B are
filled, and thus sum up only column A and B of row 1. It seems like a
simple
concept but I can't seem to figure out how to do this.

Thanks a lot in advance.





All times are GMT +1. The time now is 03:02 PM.

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