Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 542
Default Totally confused - please help!

I am not sure which excel function to use.

I need to create a formula that looks for a # in a cell and returns a
corresponding person's initials. If there are multiple occurences I need to
concatenate the initials into one cell separated by a comma.

In row 1, i have the person initials
In row 2, I have the #'s
In row 3, the formula

Therefore,

A B C D E
1 PH IS CF MS AS Row 1

2 # # # Row 2

The formula result in row 3 should be PH,CF,AS

Can anyone help?
--
J
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Totally confused - please help!

In A3: =IF(A2="#",A1,"")
Copy A3 to E3

Then in F3:
=SUBSTITUTE(TRIM(A3&" "&B3&" "&C3&" "&D3&" "&E3)," ",",")
will return the required concat result
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"James" wrote:
I am not sure which excel function to use.

I need to create a formula that looks for a # in a cell and returns a
corresponding person's initials. If there are multiple occurences I need to
concatenate the initials into one cell separated by a comma.

In row 1, i have the person initials
In row 2, I have the #'s
In row 3, the formula

Therefore,

A B C D E
1 PH IS CF MS AS Row 1

2 # # # Row 2

The formula result in row 3 should be PH,CF,AS

Can anyone help?
--
J

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 542
Default Totally confused - please help!

Max,

That is absolutely brilliant. Works like a dream. Thank you so much.

Is it a formula that will automatically update itself?
--
J


"Max" wrote:

In A3: =IF(A2="#",A1,"")
Copy A3 to E3

Then in F3:
=SUBSTITUTE(TRIM(A3&" "&B3&" "&C3&" "&D3&" "&E3)," ",",")
will return the required concat result
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"James" wrote:
I am not sure which excel function to use.

I need to create a formula that looks for a # in a cell and returns a
corresponding person's initials. If there are multiple occurences I need to
concatenate the initials into one cell separated by a comma.

In row 1, i have the person initials
In row 2, I have the #'s
In row 3, the formula

Therefore,

A B C D E
1 PH IS CF MS AS Row 1

2 # # # Row 2

The formula result in row 3 should be PH,CF,AS

Can anyone help?
--
J

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Totally confused - please help!

Is it a formula that will automatically update itself?

All formulas update automatically, unless the calc mode is set
to/inadvertently at manual mode. Perhaps check the calc mode via clicking:
Tools Options Calculation tab. Ensure "Automatic" is selected OK

Take a moment to click the "Yes" button from where you're reading this
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"James" wrote:
Max,

That is absolutely brilliant. Works like a dream. Thank you so much.

Is it a formula that will automatically update itself?
--
J


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
Totally confused by SUMIF Bibi Excel Discussion (Misc queries) 3 January 30th 08 02:31 PM
Help! Totally Grey Sheet nabanco Excel Worksheet Functions 2 August 2nd 07 07:16 PM
Totally wierd Fritz Excel Worksheet Functions 4 July 23rd 07 01:44 PM
Finding text in one field, and then totally another Tom D[_3_] Excel Worksheet Functions 1 April 27th 07 12:57 AM
Totally Stumped Sondra Excel Discussion (Misc queries) 3 February 15th 06 02:01 PM


All times are GMT +1. The time now is 04:50 PM.

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

About Us

"It's about Microsoft Excel"