Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Numbers formula help — Concatenate a List within cells

Hi All,


Im trying to create a couple of neat formulas (i.e. one that isn't a hundred lines long, and is easily duplicatable) to do the following;


  1. Writing the formula into Sheet 2, Column C, Row 1 : Search all cells in Sheet 1, Column K (text) for the contents of Sheet 2, Column A, Row 1 (text). If this is found, display a list of the corresponding contents of Sheet 1, Column C. See screenshot for my spreadsheet and current formula, which seems to work, but is very long, clunky and not easy to reproduce.
  2. Writing the formula into Sheet 2, Column D, Row 1 : Search all cells in Sheet 1, Column C for the contents of Sheet 2, Column C, Row 1. Based on the corresponding matches, display the lowest corresponding value found in Sheet 1, Column E. See screenshot of the spreadsheet to better understand my request — no formula has yet been attempted.


As you can (hopefully) tell from my spreadsheet, I need to be able to readily replicate these formulas for every row. This is why my current formula isn't really appropriate. If to achieve the desired result I need to change the structure of my spreadsheets, I am willing to do this.


Any help would be MASSIVELY appreciated as this is right at the limits of my current knowledge.


Thanks in advance,

Merlin

User uploaded file

User uploaded file

User uploaded file

iMac, OS X Yosemite (10.10.4)

Posted on Aug 27, 2015 3:41 AM

Reply
10 replies

Aug 27, 2015 7:05 AM in response to merlinduff

Hi merlin,


Your description of your problem is confusing to me.

In Numbers a sheet can have many tables and objects on its canvas. I think you are saying "sheet" when you should be describing a table.

Communications::A1 describes the upper left cell in the table communications. Using these designations will make your communications clearer.


So when you say 'Sheet 1' you mean the table "Process steps"?

What table is "Sheet 2"? "communications"?


Could you rewrite your questions so they would be a little clearer to those of us steeped in our Numbers conventions? It is a lot of work simply translating your question.


quinn

Aug 27, 2015 7:35 AM in response to t quinn

Hi Ian and Quinn,


Apologies for any confusion stemming from nomenclature.


Rewritten as per your request Quinn my questions read;


  • Writing the formula into 'Communications', Column C, Row 1 : Search all cells in 'Process Steps', Column K for the contents of 'Communications', Column A, Row 1 (text). If this is found, display a list of the corresponding contents of 'Process Steps', Column C. See screenshot for my spreadsheet and current formula, which seems to work, but is very long, clunky and not easy to reproduce.
  • Writing the formula into 'Communications', Column D, Row 1 : Search all cells in 'Process Steps', Column C for the contents of 'Process Steps', Column C, Row 1. Based on the corresponding matches, display the lowest corresponding value found in 'Process Steps', Column E. See screenshot of the spreadsheet to better understand my request — no formula has yet been attempted.


Any clearer for you? I'm used to talking in layman's terms around Numbers but am trying my best to make my request easier to understand for you guys.


Thanks,

M.

Aug 27, 2015 8:01 AM in response to merlinduff

Hi Merlin,


Your screen shots are better, but still not easy to read.

Question 1

Writing the formula into 'Communications', Column C, Row 1 : Search all cells in 'Process Steps', Column K for the contents of 'Communications', Column A, Row 1 (text). If this is found, display a list of the corresponding contents of 'Process Steps', Column C. See screenshot for my spreadsheet and current formula, which seems to work, but is very long, clunky and not easy to reproduce.

User uploaded file

User uploaded file

You want the formula in Communications C (the yellow-green column in my screen shot)?

Are we getting close?


Will continue tomorrow.

Regards,

Ian.

Aug 28, 2015 3:36 AM in response to merlinduff

Hi Merlin,


We are halfway there.

I have taken up your offer:

If to achieve the desired result I need to change the structure of my spreadsheets, I am willing to do this.

Add another Table to "deconcatenate" Column K in "Process Steps". This Table "Step Codes affected by Communication Codes" is a small subset of codes to illustrate the formula.

User uploaded file

Formula in B2 of the new table (and Fill Right and Fill Down)=IFERROR(IF(FIND(B$1,Process Steps::$K2)>0,$A2,""),"")


We need 'comma space' in Row 1 and Column A.

Why?

1. If FIND is searching for CO1, it will falsely find CO11.

2. We need 'comma space' in the results to make it easier to concatenate into Column C of the "Communications" table.


Step 2 (I am still working on this) is to use UNION.RANGES to fill in Column C of the "Communications" table.

User uploaded file

Formula in C2 =UNION.RANGES(0,Step Codes affected by Communication Codes::B

But it is finding only the first match.


Maybe a UNION.RANGES guru can help here.


Regards,

Ian.

Numbers formula help — Concatenate a List within cells

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.