Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Lookup all values within multiple columns and copy to new column | Excel Discussion (Misc queries) | |||
When data match, copy adjacent value to adjacent column | Excel Worksheet Functions | |||
summing values from adjacent column with refrence from adjacent column | Excel Discussion (Misc queries) | |||
Sum up values from adjacent column | Excel Discussion (Misc queries) | |||
To copy values in a column relevant to text in an adjacent column? | Excel Worksheet Functions |