Two formulas in one cell

S

something68

I wonder if it is possible to add another formula to the following:

=SUMIF(A1:A10,"H",B1:B10)

such as =SUMIF(A1:A10,"MO",B1:B10)

to show: H = 4 [hours] and MO = 2 [hours] in column V8
 
T

T. Valko

Try this (all on one line):

="H = "&SUMIF(A1:A10,"H",B1:B10)
&" and MO = "&SUMIF(A1:A10,"MO",B1:B10)
 

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