Two totals in one cell shown in two separate columns

S

something68

Column A, row 8 shows: A, S
Column A, row 9 show: 1.0, 7.0

I would like Column M, row 9 to show: 1 (total of all "A" shown in row 8)
I would like Column O, row 9 to show: 7 (total of all "S" shown in row 8)
 
E

Eduardo

Hi,
I assume your information is from column A to L change it to fit your needs

in column M enter

=SUMPRODUCT(--(A8:L8="A"),A9:L9)

in column O enter

=SUMPRODUCT(--(A8:L8="S"),A9:L9)

if this helps please click yes, thanks
 
S

something68

This is very close. Let me try explaining it this way:

I have "A" in Cell B03, B07, B20, and B21
I have "S" in Cell B03

I have "1.0" in Cell B04, "7.0" in cells B07, B20, and B21
I have "5.0" in Cell B04

I would like Cell M 04 to show "22.0"
I would like Cell R 04 to show "5.0"
 
E

Eduardo

Hi,
so you are saying you have A and S in one cell which is B3 and 1, 5 in cell
B4,
 
N

NBVC

How are values separated in the cells?

Also, are the choices only A and S and is A always first numbers, and S
is always second numbers?


--
NBVC

Where there is a will there are many ways.

'The Code Cage' (http://www.thecodecage.com)
 
S

something68

Separated by a comma, A, S.

Right now, A & S are the choices and I will always use "A" first.
 
P

Pete_UK

This is a bit different than your other post, but check that out as
well for the answers there.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top