Computing.Net > Forums > Office Software > Excel column formula help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Excel column formula help

Reply to Message Icon

Name: themick
Date: March 16, 2005 at 14:09:27 Pacific
OS: Win98SE
CPU/Ram: P4/512K
Comment:

I am importing data from a timebilling package using the ABA legal codes. There is a column in my spreadsheet called "Codes" (Column A)and a column next to it called "Value" (Column B). In the codes column it is text but they are all a series of numbers such as L120, L230, L440, etc. What I want the formula to do is scan Column A, let's say for all the cells that contain "L120"; then take its corresponding value in Column B and place that value in let's say Column C and call this "Totals". The value of L120 in column C should be all the values of the cells that contain the text "L120" totaled in one cell. For example, 3 of the cells in Column A contain L120 as the text and their corresponding values of 10, 20 and 30. There should be a cell (one cell) in Column C that says "60". Any experts out there can help? Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: Martin Crandall
Date: March 16, 2005 at 14:54:24 Pacific
Reply:

Mick, by no means an expert, but if you can email me the file? I love tinkering with spreadsheets.

_________________________
The internet is no longer a toy, it's a COMBAT ZONE!


0

Response Number 2
Name: Grok Lobster
Date: March 16, 2005 at 15:00:28 Pacific
Reply:

=sumif(a1:a5,"l120",b1:b5)


0

Response Number 3
Name: themick
Date: March 16, 2005 at 17:04:33 Pacific
Reply:

Thanks Grok Lobster!
One followup to your formula:
=sumif(a1:a5,"l120",b1:b5)

If this formula is on a worksheet called "worksheet" and pulling the data from a worksheet called "Data" - when I enter this:
=sumif(Data!a1:a5,"l120",b1:b5), it does not return the same result. What am I doing wrong? Thanks!


0

Response Number 4
Name: Grok Lobster
Date: March 17, 2005 at 06:47:59 Pacific
Reply:

Put Data in front of the B1:B5 reference as well.


0

Response Number 5
Name: themick
Date: March 17, 2005 at 11:20:53 Pacific
Reply:

Thanks again Grok Lobster.

On more scenario as I know this is going to come up in the future. Take the same circumstances in my original and add a condition. Column A is the "L" code (L110 as example); Column B is are various individual's initials (let's give this one the intials of "xyz"); Column C are the numberic values.
We want to place a formula in column D that says take all the values in Column A that are "L110" and of those L110's, have the value of "xyz" in Column B and place their corresponding values in Column C into this particular cell (should give one total for all those that meet this criteria). I think I know how to do this and am experimenting with it but would appreciate your help. Thanks again.

Mike


0

Related Posts

See More



Response Number 6
Name: Grok Lobster
Date: March 17, 2005 at 16:53:49 Pacific
Reply:

Look up pivot tables in help.


0

Response Number 7
Name: Ole Schooler
Date: March 17, 2005 at 21:43:15 Pacific
Reply:

Grok Lobster,

GREAT reply!, Do love nice simple solutions to complex problems.

Ditto on the pivot table reply as well.

~OS~

Do you know why they call it "PMS"? Because "Mad Cow Disease" was taken. --Unknown, presumed deceased


0

Sponsored Link
Ads by Google
Reply to Message Icon

Exporting from Excel outlook - setting up an a...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Excel column formula help

Excel Date Formula - Help?! ;( www.computing.net/answers/office/excel-date-formula-help-/1243.html

Excel 2003 Formula HELP www.computing.net/answers/office/excel-2003-formula-help/5855.html

Excel formula help www.computing.net/answers/office/excel-formula-help/8488.html