LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default sum adjacent columns based on variable

I am trying to figure out how to write a formula to do the following:

Let's say in Column A I enter in character data (Item 1, Item 2, Item
3, etc) and in Column B I enter in numerical data (25.50, 52.30,
43.02, etc). What I want to be able to do is:

If the data in Column A = Item 1, take the Sum of the adjacent data in
Column B.

So if my spreadsheet looks like this:

Item 1 25.50
Item 2 52.30
Item 1 43.02

and I run the formula above, it would output this: 68.52

If anyone could help me with this Excel formula, that would be great.

 
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
sum number of columns based on variable value rt10516 Excel Discussion (Misc queries) 4 November 8th 07 01:47 PM
Calculating values in two columns based on a variable Alex Excel Discussion (Misc queries) 3 January 23rd 07 07:18 PM
How do I number columns based on adjacent cells? johnjesmer Excel Worksheet Functions 1 October 18th 06 02:36 AM
Sum cells based on a row variable and seperate column variable CheeseHeadTransplant Excel Worksheet Functions 10 September 23rd 05 06:59 PM
Chart based on variable number of columns Scott Hamilton Charts and Charting in Excel 2 June 5th 05 03:36 PM


All times are GMT +1. The time now is 10:46 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"