Hello and welcome to the forum. Unfortunately your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem.
Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
(This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
Welcome to the forum and thanks for changing your thread title.
Put this in I2, dragged down to I4:
Formula:Please Login or Register to view this content.
If you have a lot more than two columns of a/b/c and numbers, then this will get a bit unwieldy, but with just two columns it'll work fine.
Regards,
Aardigspook
I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
You don't need to give me rep if I helped, but a thank-you is nice.
Try this...
Data Range
A B C D E F G H I 1 ------ ------ ------ ------ ------ ------ ------ ------ ------ 2 A 23 C 21 A 40 3 B 34 A 17 B 79 4 C 34 B 45 C 55
This formula entered in I2 and copied down:
=SUMIF(B$2:E$4,H2,C$2:F$4)
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
@craigmd: use Tony's formula - it's much easier to extend for more columns of data.
@Tony: my brain's obviously not working today
thanks!
how would I put a,b,c into the formula instead of using the H column?
Like this:
=SUMIF(B$2:E$4,"A",C$2:F$4)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Unless either column B or E had A,B and C in order , not easy: how do we know the sequence?
If column B is always ascending order, replace H2 by B2
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks