Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
fak119
 
Posts: n/a
Default References...

I have one column with names and nationalities, the latter as an abbreviation
such as €œ(USA)€

In a separate list I have to sum the different nationalities. Somewhat like
this.

Col. A

Miller (USA)
Forget (FRA)
Smith (GBR
Schmidt (GER)
Stone (USA)
Meier (GER)
€¦

(The names in this col. A may be typed in the cells or come from a formula)


The List in say, col. Q and R, should the look like this:


France 1
Germany 2
Great Britain 1
USA 2
....

The column in Q with the country names exists already and the two columns
(Q:R) should be able to be sorted.

Is there a formula (or macro) that can do the trick?

Thank you

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Marcelo
 
Posts: n/a
Default References...

Hi Fak

one way is create a column with the abbreviation in your spreadsheet,
between the Q ans R cols.

so it will be

Q R S

France (FRA) 1
Germany (GER) 2
Gran Britain (GBE) 1
USA (USA) 2

on the S column use the formula

=sumproduct(--(rigth($A$5:$A$100;5)=R5))

Hope it helps - thanks for the feedback
regards from Brazil
Marcelo


the formula on the

"fak119" escreveu:

I have one column with names and nationalities, the latter as an abbreviation
such as €œ(USA)€

In a separate list I have to sum the different nationalities. Somewhat like
this.

Col. A

Miller (USA)
Forget (FRA)
Smith (GBR
Schmidt (GER)
Stone (USA)
Meier (GER)
€¦

(The names in this col. A may be typed in the cells or come from a formula)


The List in say, col. Q and R, should the look like this:


France 1
Germany 2
Great Britain 1
USA 2
...

The column in Q with the country names exists already and the two columns
(Q:R) should be able to be sorted.

Is there a formula (or macro) that can do the trick?

Thank you

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing cell references in formulas to names and back again. Aaron Excel Discussion (Misc queries) 4 April 25th 06 11:12 PM
Cell Reference's when Pasting RadiantQuartzHeater Excel Discussion (Misc queries) 0 February 16th 06 09:55 AM
Automatically Changing Cell Reference's when Pasting in Excel No I'm Spartacus Excel Discussion (Misc queries) 0 February 13th 06 02:01 PM
More- AutoFill with Non-Seqeuntial Cell References ? [email protected] Excel Worksheet Functions 4 June 23rd 05 02:42 AM
Absolute cell references and subsequent problems. Pank Mehta Excel Discussion (Misc queries) 2 April 19th 05 11:38 AM


All times are GMT +1. The time now is 11:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"