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

Multiple Lines of Data per Row

Need some help.


I have several customers and one row is 1 customer.

But I would like to keep data without having to have lots and lots of columns.


Basically I need to keep data of dates when Job was done and Paid and need several years stored. But how can I do this? Maybe in 1 cell?


Any help would be great!

Numbers '09-OTHER, Mac OS X (10.7.4)

Posted on May 19, 2013 11:48 AM

Reply
12 replies

May 19, 2013 5:20 PM in response to midjew

Hi mj,


You could keep it all in a single cell, at least until you reached the maximum number of characters that can be stored in a single cell, but there are problems with retrieving the data when using that approach.


The physical equivalent would be a Banker's Box for each customer into which you tossed notes on paper for each transaction you wanted to record. Not a pretty picutre when you want to retrieve a specific transaction from the pile.


You may want to do a bit more planning on this.


Regards,

Barry

Jul 30, 2013 8:41 AM in response to Barry

I'm looking for something similar too.


I place orders every week to restock my product inventory, and I want to keep track of the total order cost, along with a breakdown of the costs that make up the order,


Because the types of cost incurred vary largely between orders, I currently need 20+ columns to store this data, and usually only 5 of these colums contain data, so it's extremely inefficient. (But I need all these colums because over about 10 orders, they all end up being filled at some point)


It therefore makes sense that everey order is on it's own row which can then be expanded to show the breakdown of costs?


Hope that makes sense and somebody can advise.

Jul 30, 2013 8:53 AM in response to Wayne Contello

The issue I have is I want to know what makes up that 'amount'.. Some orders incur additional costs, some don't and those additional costs often vary between orders.


For example, one order may consist of 4 different delivery charges, extra packaging costs, inspection costs, label costs, paper costs, clearance costs, whilst another order may only have a single delivery cost


It seems a huge waste of space to have colums such as 'packaging coss' which sit empty for 90% of orders...


Hope I understood you correctly?

Jul 30, 2013 10:16 AM in response to Tradez

It can be done but it can get complex and error prone. But here is a way. I have it all in one table to demonstrate how to parse the data but you can have the parsing (column C and to the right) in a separate table. The parsed data can be summed up.


You enter all the costs in one cell, one line per cost. Each needs a $ and each line is separated by Option-Return.


User uploaded file


Cell A1 contains an option-return (with the cell formatted as text) or the formula ="option-return" (with the cell formated as automatic). This is a workaround. The other formulas need to "find" option returns (character code 10) in other strings but you cannot use CHAR(10) to generate that character. So it is easiest to put the option-return character in a cell somewhere and reference it.


A2 and B2 are manually entered data

C2 =IFERROR(MID(B2,FIND("$",B2)+1,IFERROR(FIND($A$1,B2)-FIND("$",B2)-1,LEN(B2))),0 )

D2=IFERROR(RIGHT(B2,LEN(B2)-FIND($A$1,B2)),"")


Select C2 and D2. Copy. Paste at E2, G2, I2, etc. for however many costs you want to handle.

Fill down to finish the table.

You will probably want to include a column to the right that sums all the costs.


You can hide all the parsing columns, leaving just your entered data (columns A and B) and your sum (which would be column J for this example).


Be careful when entering data. Forgetting a $ or forgetting an option-return will result in incorrect parsing. A missing $ will not show up as an orange error triangle, it will be a 0 forthe cost. That is part of why I said it is more prone to errors to do it this way. You could, of course, edit the formulas and flag any zero results, knowing there should be none.

Jul 30, 2013 7:06 PM in response to Tradez

Tradez,


I suggest three tables ...


  1. Order Items - separate line for each item or cost on an order.
    The order with many costs would have several lines,
    and the orders with just one or two costs would have just one or two lines.
    (Note that Joe has bought several items and incurred a number of costs.)
  2. Item Costs - summarises and groups costs according to type
    "breakdown of the costs that make up the order"
  3. Orders - one line per order
    Matches order to invoice number, date, total cost, customer, when paid, etc.


See screenshot:

User uploaded file


The formulae:


Order Items is purely entry only.


---


Items Costs has fixed rows, one per category.


The next column, Summary, has this formula:


=SUMIF(Order Items::$Category, "="&$Category, Order Items::$Cost)


Order Items::$Category - looks up the Category column in Order Items


"="&$Category - searches for rows that match the category in Items Costs


Order Items::$Cost - selectively adds only those costs that match this category


---


Orders - mostly data entry


The column Total Order has this formula:


=SUMIF(Order Items::$Invoice, "=" &$Code, Order Items::$Cost)


Selectivly adds those costs which match this invoice number.


---


The reason for the $Code column is that when formatting the invoice column, I created a custom format INV00000, (see screenshot), but that ran into issues with comparisons between cells, hence the extra column.


User uploaded file

Multiple Lines of Data per Row

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