Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default i wish to lookup values in column A, & add adjacent values in colu

i wish to lookup values in column 'A' and sum the adjacent column(B)
eg.

A B
1 1 120
2 2 50
3 1 120
----------------------
240
The values of 1 in column A sum column B
--
Browny
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default i wish to lookup values in column A, & add adjacent values in colu

Try this:

=SUMIF(A1:A3,1,B1:B3)

Or, use a cell to hold the criteria:

D1 = 1

=SUMIF(A1:A3,D1,B1:B3)

--
Biff
Microsoft Excel MVP


"Browny" wrote in message
...
i wish to lookup values in column 'A' and sum the adjacent column(B)
eg.

A B
1 1 120
2 2 50
3 1 120
----------------------
240
The values of 1 in column A sum column B
--
Browny



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default i wish to lookup values in column A, & add adjacent values incolu

This one ?

=SUMPRODUCT((A1:A3=1)*(B1:B3))


On Sep 26, 11:27*am, Browny wrote:
i wish to lookup values in column 'A' and sum the adjacent column(B)
eg.

* * * A * * * * B
1 * * 1 * * * * 120
2 * * 2 * * * * 50
3 * * 1 * * * * 120
----------------------
* * * * * * * * * 240
The values of 1 in column A sum column B
--
Browny


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default i wish to lookup values in column A, & add adjacent values in

Briliant, thank you
so easy when you see it.
--
Browny


"T. Valko" wrote:

Try this:

=SUMIF(A1:A3,1,B1:B3)

Or, use a cell to hold the criteria:

D1 = 1

=SUMIF(A1:A3,D1,B1:B3)

--
Biff
Microsoft Excel MVP


"Browny" wrote in message
...
i wish to lookup values in column 'A' and sum the adjacent column(B)
eg.

A B
1 1 120
2 2 50
3 1 120
----------------------
240
The values of 1 in column A sum column B
--
Browny




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default i wish to lookup values in column A, & add adjacent values in

You're welcome!

--
Biff
Microsoft Excel MVP


"Browny" wrote in message
...
Briliant, thank you
so easy when you see it.
--
Browny


"T. Valko" wrote:

Try this:

=SUMIF(A1:A3,1,B1:B3)

Or, use a cell to hold the criteria:

D1 = 1

=SUMIF(A1:A3,D1,B1:B3)

--
Biff
Microsoft Excel MVP


"Browny" wrote in message
...
i wish to lookup values in column 'A' and sum the adjacent column(B)
eg.

A B
1 1 120
2 2 50
3 1 120
----------------------
240
The values of 1 in column A sum column B
--
Browny






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup value in one column & add the values in adjacent columns Browny Excel Discussion (Misc queries) 3 September 26th 08 08:02 AM
Advanced Filter for Values in Column M greater than Values in Colu SteveC Excel Discussion (Misc queries) 3 May 2nd 06 07:55 PM
summing values from adjacent column with refrence from adjacent column Pivotrend Excel Discussion (Misc queries) 6 March 4th 06 11:24 AM
Sum up values from adjacent column Pivotrend Excel Discussion (Misc queries) 4 February 21st 06 11:08 AM
To copy values in a column relevant to text in an adjacent column? Guy Keon Excel Worksheet Functions 2 November 15th 05 08:10 PM


All times are GMT +1. The time now is 09:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"