• 100% Satisfaction Guarantee

The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 1405
Experience:  20 years experience providing remote computer support
62934938
Type Your Microsoft Office Question Here...
The-PC-Guy is online now

### Resolved Question:

Hi,

Thanks.

Nick
Submitted: 1 year ago.
Category: Microsoft Office
Expert:  The-PC-Guy replied 1 year ago.

The-PC-Guy :

The-PC-Guy :

what are you looking to do with a formula?

Customer:

Hi Andrew. Thanks for responding so quickly.

The-PC-Guy :

sure

Customer:

We rent out properties in France and would like to set up a formula to track the numbers of guests from each country.

Customer:

I have been trying to do this with a COUNTIF formula.

Customer:

So for example, =COUNTIF(H3:H54,"American")

Customer:

This works okay but does not help with numbers

Customer:

So, I have the nationality in row H and in row G a number

The-PC-Guy :

are you trying to count where the specific text occurs

The-PC-Guy :

can you provide a sample sheet

Customer:

Sure

The-PC-Guy :

if you click the paperclip icon at the top of the chat

The-PC-Guy :

it says image

The-PC-Guy :

but you can post an excel file the same way

The-PC-Guy :

after clicking paperclip

Customer:

 Guest Name Source Numbers Nationality Bertha French Owners Direct 5 American Natalia Samoilenko Owners Direct 6 Russian XXXXX XXXXX VRBO 4 American Mary Lou Boutwell Mary Maffia 3 American
The-PC-Guy :

so are you looking for a total of the numbers

Customer:

Yes.

The-PC-Guy :

so if there are 3 american values

The-PC-Guy :

you would want the result to be 12

The-PC-Guy :

not 3

The-PC-Guy :

is this correct

Customer:

 American 0 Australian 1 British 5 Russian 2 Danish 1 South African 1 New Zealander 1 Canadian 1
Customer:

Sorry!

Customer:

 American 0 Australian 1 British 5 Russian 2 Danish 1 South African 1 New Zealander 1 Canadian 1
The-PC-Guy :

ok

The-PC-Guy :

i think i need to see the actual sheet to make this work for you

The-PC-Guy :

also will give me a better understanding

The-PC-Guy :

if I can see the exact setup

The-PC-Guy :

can you try the paperclip option

Customer:

Okay - no problem.

The-PC-Guy :

to post the actual sheet

Customer:

Yeah, sure. Just spotted it!

Customer:

Did you get that ok?

The-PC-Guy :

yup

The-PC-Guy :

give me a min to open

Customer:

It's not the full spreadshett I'm afraid as there's a lot of sensitive financial info in a lot of the cells - sorry!

The-PC-Guy :

no

The-PC-Guy :

problem

The-PC-Guy :

just as long as I get an idea

The-PC-Guy :

i can give you the correct formulas

Customer:

Thanks!

The-PC-Guy :

gonna take me a minute to open anway

The-PC-Guy :

still firing up excel

Customer:

no problem!

The-PC-Guy :

got it

The-PC-Guy :

so where is the problem ocuring

The-PC-Guy :

I see cells B59

The-PC-Guy :

- B66

The-PC-Guy :

seam to have those formulas

The-PC-Guy :

those values look correct to me.

The-PC-Guy :

unless you were looking for different values

Customer:

In think I got the COUNTIF formula right, but I wasn't sure how to multiply.

The-PC-Guy :

ok

The-PC-Guy :

what are you multiplying

The-PC-Guy :

what values x what values

Customer:

So, in the example of C3, we had 5 Americans.

Customer:

Can I multiply x5 and get it to come up below?

The-PC-Guy :

gotya

The-PC-Guy :

yes

The-PC-Guy :

try this formula

The-PC-Guy :

put in

The-PC-Guy :

cell

The-PC-Guy :

B59

The-PC-Guy :

=SUMIF(D\$3:D\$54,A59,C\$3:C\$54)

The-PC-Guy :

then copy and paste that to

Customer:

Ok

The-PC-Guy :

B60 - B66

The-PC-Guy :

or however many you need

The-PC-Guy :

lemme know how it works out for you

Customer:

I get 51 Americans in total which is spot on - great!

The-PC-Guy :

greate

The-PC-Guy :

The-PC-Guy :

bonus also appreciated

Customer:

Would that formula work with all the cells and nationalities?

The-PC-Guy :

yup

The-PC-Guy :

just copy and paste the formula

The-PC-Guy :

down to b60

The-PC-Guy :

- b66

Customer:

Excellent - many thanks for your help!

The-PC-Guy :

or however many rows you need

Customer:

Great!

Customer:

Much appreciated!

The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 1405
Experience: 20 years experience providing remote computer support

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

### What Customers are Saying:

• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
• Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland

• ### jstinehelfer

#### Satisfied Customers:

36
A+ Comptia Certified computer repair
< Last | Next >

### jstinehelfer

#### Satisfied Customers:

36
A+ Comptia Certified computer repair

### JasonJames122

#### Satisfied Customers:

0
I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business

### Jess M.

#### Satisfied Customers:

301
Computer Software Specialist for more than 10 years

### The-PC-Guy

#### Satisfied Customers:

274
20 years experience providing remote computer support

125

### Chris L.

#### Satisfied Customers:

124
Certified Expert with over 10 years experience.

### IT Miro

#### Satisfied Customers:

97
Bachelor's Degree in Information Technology, Microsoft Certified Professional

## Related Microsoft Office Questions

Chat Now With A Microsoft Office Technician
The-PC-Guy
328 Satisfied Customers
20 years experience providing remote computer support