Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Concatenate values based on array

I have a table with column ranges for Job survey codes, job titles, and
annual salaries. One of my formulas returns an average annual salary
for the specific job codes; using ranges, my array formula is:

{=AVERAGE(IF(SurveyCode=A2,Fiscal06))}

However, more than one title can map to a job code. If I have the
above in cell B2, is there a way to concatenate the job titles
associated with the job code that is being averaged?

For example, let's say I have two jobs, Truck Driver I and Truck Driver
II, with respective salaries of $40,000.00 and $50,000.00. My formula
above returns to cell B2 "$45,000.00," and I would like to return in C2
"Truck Driver I; Truck Driver II."

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
DJ DJ is offline
external usenet poster
 
Posts: 1
Default Concatenate values based on array

You can try using CONCATENATE operator

On Jan 25, 10:55 pm, "TomorrowsMan" wrote:
I have a table with column ranges for Job survey codes, job titles, and
annual salaries. One of my formulas returns an average annual salary
for the specific job codes; using ranges, my array formula is:

{=AVERAGE(IF(SurveyCode=A2,Fiscal06))}

However, more than one title can map to a job code. If I have the
above in cell B2, is there a way to concatenate the job titles
associated with the job code that is being averaged?

For example, let's say I have two jobs, Truck Driver I and Truck Driver
II, with respective salaries of $40,000.00 and $50,000.00. My formula
above returns to cell B2 "$45,000.00," and I would like to return in C2
"Truck Driver I; Truck Driver II."

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Concatenate values based on array

DJ,

Sorry, I wasn't clear; I know I need to use CONCATENATE, but I don't
know how to write the formula to concat each of the returned values in
the array.

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
return values from an array based on more than one criteria frustratedjohn Excel Discussion (Misc queries) 3 February 13th 10 08:57 PM
Finding the Max, Min values based on certain criteria for an array swalk88 Excel Discussion (Misc queries) 13 September 10th 09 03:42 AM
How do I add multiple values in an array based on multiple hits? Steve in Columbia Excel Discussion (Misc queries) 12 September 10th 07 01:14 AM
return values from an array based on matching text value WFBJoeB Excel Worksheet Functions 10 May 14th 07 07:57 PM
Concatenate an array Ed Excel Discussion (Misc queries) 4 July 3rd 06 05:57 PM


All times are GMT +1. The time now is 03:42 AM.

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"