Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Lookup value in one column & add the values in adjacent columns

My sheet has repeating values in column "A" i.e. 1, 2, 3,or 4.
i wish to lookup the numbers 1's and sum the adjacent cloumn.

A B-
1 1 120
2 3 100
3 4 50
4 1 120
--------------
Browny
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Lookup value in one column & add the values in adjacent columns

See your other post

--
Biff
Microsoft Excel MVP


"Browny" wrote in message
...
My sheet has repeating values in column "A" i.e. 1, 2, 3,or 4.
i wish to lookup the numbers 1's and sum the adjacent cloumn.

A B-
1 1 120
2 3 100
3 4 50
4 1 120
--------------
Browny



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Lookup value in one column & add the values in adjacent columns

Hi,

Try this forumla:

Apply this formula in B6
{=SUM(IF($A$1:$A$4=A6,$B$1:$B$4,FALSE))}

This is an array formula and must be entered with CTRL+Shift+Enter and not
just enter. If you do it correctly Excel will put curly brackets around it
{}. You can't type these yourself



A B
1 1 120
2 3 100
3 4 50
4 1 120

See below the output

6 1 240
7 3 100
8 4 50


"Browny" wrote:

My sheet has repeating values in column "A" i.e. 1, 2, 3,or 4.
i wish to lookup the numbers 1's and sum the adjacent cloumn.

A B-
1 1 120
2 3 100
3 4 50
4 1 120
--------------
Browny

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Lookup value in one column & add the values in adjacent column

Forgot to mention how to get the value in A6
Please follow the below mentioned Steps

Select your list of names then
Data|Filter|Advanced filter
Selecr 'Copy to new location
Check 'Unique values only'
Enter an address to copy to (I used A6)
Click OK

You will get a unique list in A6

"Uma Nandan" wrote:

Hi,

Try this forumla:

Apply this formula in B6
{=SUM(IF($A$1:$A$4=A6,$B$1:$B$4,FALSE))}

This is an array formula and must be entered with CTRL+Shift+Enter and not
just enter. If you do it correctly Excel will put curly brackets around it
{}. You can't type these yourself



A B
1 1 120
2 3 100
3 4 50
4 1 120

See below the output

6 1 240
7 3 100
8 4 50


"Browny" wrote:

My sheet has repeating values in column "A" i.e. 1, 2, 3,or 4.
i wish to lookup the numbers 1's and sum the adjacent cloumn.

A B-
1 1 120
2 3 100
3 4 50
4 1 120
--------------
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 all values within multiple columns and copy to new column Tommy[_4_] Excel Discussion (Misc queries) 3 August 17th 07 01:44 AM
When data match, copy adjacent value to adjacent column slimbim Excel Worksheet Functions 2 November 8th 06 08:41 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 10:19 PM.

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"