ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Calculating sum of adjacent cell (https://www.excelbanter.com/excel-discussion-misc-queries/186610-calculating-sum-adjacent-cell.html)

Danno 24/7

Calculating sum of adjacent cell
 
Hi

I need to find all the cells adjacent to a text value and calculate the
total on a seperate sheet.

Similar to below

NG £250
LW £150
NG £370
KW £450

Total NG £620
Total LW £150

etc.

Ideas?

Bob Phillips

Calculating sum of adjacent cell
 
=SUMIF(Sheet1!A:A,"NG",Sheet1!B:B)

etc.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Danno 24/7" <Danno wrote in message
...
Hi

I need to find all the cells adjacent to a text value and calculate the
total on a seperate sheet.

Similar to below

NG £250
LW £150
NG £370
KW £450

Total NG £620
Total LW £150

etc.

Ideas?




Danno 24/7[_2_]

Calculating sum of adjacent cell
 
Thanks Bob

"Bob Phillips" wrote:

=SUMIF(Sheet1!A:A,"NG",Sheet1!B:B)

etc.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Danno 24/7" <Danno wrote in message
...
Hi

I need to find all the cells adjacent to a text value and calculate the
total on a seperate sheet.

Similar to below

NG £250
LW £150
NG £370
KW £450

Total NG £620
Total LW £150

etc.

Ideas?






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

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