Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

formula

ResolvedVersion 365

Sanjay has attended:
Excel VBA Introduction course
Excel VBA Intermediate course

Formula

Hi,

I am working a workbook which have multiple sheets.

I am looking for a formula which will work in 2 sheets.

The detail of the sheets are as mention below.

Sheet-1:- it has 2 column Country name and Number of Devices.

Country Number of devices
UK 100
UK 50
UK 80
Australia 150
Australia 100
India 200

Sheet-2 :- this sheet has again 2 column Country name and number of devices, but in this sheet for one country we need total number of devices (and I am looking for the foumula which will give the below mention result).

Country Number of devices
UK 230
Australia 250
India 200

Please let me know if you need any further information.

Thanks
Sanjay



RE: Formula

Hi Sanjay

Thank you for using the forum.

Would I be correct in assuming that you would have multiple records of devices listed for multiple countries?

If so, I would recommend a SUMIF Formula.
Criteria Range: list the data range containing the countries e.g. A3:A322
Criteria: Cell containing the country you want to total up or you could type the country name in the formula
Sum Range: the cell range containing the numbers of devices listed.

=SUMIF(A3:A322,"India",D3:D322)

Hope this answers your question

Kind regards
Wendy Canelas

RE: Formula

Thanks Wendy.

Its working.

RE: Formula

Glad to hear.

Have an awesome day further.

Kind regards,
Wendy

Excel tip:

Moving between split pane sections in a spreadsheet

If you have used the split panes feature in your worksheet, use the following keyboard shortcut keys to move quickly and effortlessly between paned sections:

F6 - Move to the next pane
Shift + F6 - Move to the previous pane

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.