how to combine multiple results in one cell

Tet Htut Naing

Board Regular
Joined
Mar 28, 2015
Messages
101
Dear All,

I have little knowledge in excel, but it made some attempts in summing up all the results in cells into one cells. To be clearer, I have column of writing gender of the people in F and M. Again, the regions of the people are different and they are separated with a row, for example 7 regions. After each region, I have this formula to count F and M of one region
Code:
=(H1&"="&COUNTIF(H5:H85,"F"))&" "&"/"&" "&(H2&"="&COUNTIF(H5:H85,"M"))
.

It gives me the result of F and M numbers of one region in one cell, for example, F = 20 / M = 17.

After all, I want all the result to be summed up in one cell again. Can you please help me out?

Thanks advance
KO Htut
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi, can't you just increase the COUNTIF() ranges so they cover all the regions - for example.

=(H1&"="&COUNTIF(H5:H1000,"F"))&" "&"/"&" "&(H2&"="&COUNTIF(H5:H1000,"M"))
 
Upvote 0
Deeply thank for your reply and suggestions.

But I want the results of each of regions separately and finally, I want them sum up. That makes me difficult.

Best Regards,
Ko Htut
 
Last edited:
Upvote 0
Yes, You are right.

I will do with my formula for separate results and use your formula for overall results. Brilliant!!

Thanks,
Ko Htut
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,314
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top