Apple Event: May 7th at 7 am PT

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

Using numbers to track billing units

I tried to find it but I could so if I'm mistaken please point me to the right thread....what I want to do (which may be beyond numbers) is to put in a database similar to this: unit code/ unit description/notes/value or charge/ #of times charged


That would be the database then I would type the code and it would auto fill the rest. This would happen at each location so I would have location 1 chart totals ect

Then my daily would be all the codes used plus the number of times charged for each plus a total of value or charge.....is this possible or am I asking to much of numbers and should use another program? And if so any suggestions?

Further info is I'm doing this for work right now we use pen and pencils ....I'd like to be different and I would like to stand out. Plus I like apple and wanna use a computer....specifically an IPad generation one as my note taker, spending money isn't out of the question but I'm on a budget.

Thanks for all the help in advance

iPad, Have phones and macs to link up

Posted on Mar 26, 2014 7:48 PM

Reply
Question marked as Best reply

Posted on Mar 26, 2014 11:57 PM

Hi LuckyLine,


I am confident that Numbers can do this. A data entry table could use the LOOKUP or SUMIF or COUNTIF functions to search another table (the database). More explanation of what you want will help with a solution 🙂. Perhaps you could reply with a small example of the database table and the entry table.


Regards,

Ian.

13 replies
Question marked as Best reply

Mar 26, 2014 11:57 PM in response to LuckyLine

Hi LuckyLine,


I am confident that Numbers can do this. A data entry table could use the LOOKUP or SUMIF or COUNTIF functions to search another table (the database). More explanation of what you want will help with a solution 🙂. Perhaps you could reply with a small example of the database table and the entry table.


Regards,

Ian.

Mar 27, 2014 8:01 AM in response to Yellowbox

Ok so it would be like this

Location 32

10.2.-Split bolt.-Units+8.-did 3 times

10.7 -animal guard. -units 3 - did 9 times



I would do this on multiple locations and at the end of the day I would need a running total of everything done for the day. I would like to be able to just fill out the code and the times done and have the description and units put in for me automatically. Then at the end o the day have a report totalling everything together.


The codes and unit numbers would come from the database which would have the discription and units worth ( Ie. Split bolts worth 8 done 3 times is 24 points.. I need to be able to separate it by locations so as to avoid confusion then at the end of the day have a total for the day to make it easy to charge the company.


That help? Let me know if u need anything else thanks for responding

Mar 28, 2014 1:02 AM in response to LuckyLine

Hi LL,


This may get you started.


Your database may look something like this (but much longer 😉)


User uploaded file


Your Daily Record Input could be like this:


User uploaded file


Input Location, Code and Times done.


D2 contains this formula (and Fill Down)

=VLOOKUP($B2,Database::$A$1:$C$5,2,FALSE)

That will lookup the code in the Database and enter the Description.


E2 contains this formula (and Fill Down)

=VLOOKUP($B2,Database::$A$1:$C$5,3,FALSE)

That will lookup the code in the Database and enter the Units


F2 contains this formula (and Fill Down)

=C2×E2


Select the Daily Record Input table, Copy and then click on a blank place on the canvas. Menu > Edit > Paste Formula Results to get a new table with values, not formulas.


Your Sheet now looks like this:


User uploaded file


Because the new table (Daily Record Input-1) contains values instead of formulas, you can safely sort it without messing up the formulas. Sorted by Location (Column A) to start creating your invoices (stay tuned).


User uploaded file


Are we there yet?


Regards,

Ian.

Mar 28, 2014 6:26 AM in response to Yellowbox

yes almost the last thing i need is a table that combines it all, on the last table it dosnt need to be sorted by locations just all like things added up. so if 3 locations have split bolts all the last table needs to show is how many times the split bolt was done that day and how many cumalitive points it would be. the last one the locations would be irrelevent, I just need totals. thanks alot Ian this has been really helpful your amazing at this!

Mar 28, 2014 6:57 AM in response to Yellowbox

would it be possible to make it on different sheets to de-clutter it? Not a big deal just think it would stream line it a litte and make it look a little nicer....



i think i just figured this out but id like to double check i hit formula and clicked ont he first sheet and it input the code for me.... is that correct?



its my day off so i figure now would be a good time to try to tackle this with full effort.


Message was edited by: LuckyLine

Mar 28, 2014 7:17 AM in response to LuckyLine

Hi LL,


would it be possible to make it on different sheets to de-clutter it?


Yes. Select the Database table and Edit > Menu > Cut (command x).

Add another sheet and Edit > Menu > Paste (command v)


The formulas will automatically adjust. The database is now 'hidden'. You can do that with any table.


For your next trick, while the Database table is selected, Menu > Arrange > Lock will stop accidental changes. When you need to edit the Database table, click on it and Menu > Arrange > Unlock


A further refinement that I was working on was to make the Daily Record Input into two tables.


'Location', 'Code' and 'Times done' to be in one table (unlocked) and 'Description', 'Units' and 'Units Worth' in another table (locked, to protect the formulas from accidental overwritting). Possible, but maybe a future refinement.


it dosnt need to be sorted by locations just all like things added up.


I am thinking SUMIF on split bolt (or Gizmos) and number of times. Doable, but it is now 1 am in Australia. Zzzzz. Will have a go tomorrow 🙂.


Regards,

Ian.

Mar 28, 2014 9:47 PM in response to LuckyLine

Hi LL,


i need is a table that combines it all, on the last table it dosnt need to be sorted by locations just all like things added up.


Rather than reinvent the wheel, a solution by Barry in this thread might help you. Call back if you need help with this.


Re: inventorylist - checkbox - appear in different sheet ..

Thank for the green tick and your kind feedback.


Regards,

Ian

Mar 29, 2014 12:49 AM in response to Yellowbox

HI Ian.


I think The linked solution provides a good stepping off place for what's needed here. The table there depends on a column of checkboxes to create an index. Here the index could be created from a count of the item names to mark the first appearance of each on the daily log. As the item numbers are actual numbers, they can be used as the index values, and doing so will enable listing them in order by item number on the summary table usng SMALL to retrieve them in order). Once on the list, SUMIF will calculate the number of times each task was done that day.


Here's an example, using the Daily Record Input table as designed by Ian, and a new Summary table.

User uploaded file

Columns A, B and C of Daily Record are filled by the user. Columns D and E are flled from the Database table (see Ian's earlier post) using one of the Lookup functions. Column E is calculated from the values in columns C and E, as described in Ian's earlier post.


Column G (Index) creates an index, using a formula to mark mark the first appearance of each item code in column B of the Daily Report table with the item number. All other rows in this column are filled with a number larger than any of the items numbers.


G2, and filled down: =IF(COUNTIF($B$2:B2,B)=1,B,999999)


Column G is needed for the operation of the Summary table, but is not needed by the user. This column may be hidden.


The summary table contains no entered data. Header labels for each column, and the Total label in the Footer row are the only items entered directly. The rest is filled by a set of formulas. All are entered in row 2 of their respective columns, and are filled down from there to the end of the body of the table.


A2: =IF(ROW()-1>COUNTIF(Daily Record Input :: G,"<999999"),"",SMALL(Daily Record Input :: G,ROW()-1))


This collects the item numbers for the tasks recorded on the daily record. SMALL is used to order these numbers from smallest to largest. The IF part is a switch that shuts off the calculation when the last item number has been copied to this table.


All of the following use IF(LEN(A) to check for content in column A of Summary, and prevent further calculation in none is found.


B2: =IF(LEN(A)<1,"",SUMIF(Daily Record Input :: B,A,Daily Record Input :: C))


If column A is filled on this row, this calculates the number of times the task coded in this row was performed this day.


C2: =IF(LEN(A)<1,"",LOOKUP(A,Daily Record Input :: G,Daily Record Input :: D))


D2: =IF(LEN(A)<1,"",LOOKUP(A,Daily Record Input :: G,Daily Record Input :: E))


These lookup the description and unit value associated with the task coded in column A. They are pointed at the Daily Record table as I did not construct a copy of the Database table. In practice, I would point this formula to the Database table where the original data is stored.


E2: =IF(LEN(A)<1,"",B*D)


This does the same calculation as the similar formula on the Daily Record table, but uses the total number of times each task was performed.


E11: =SUM(E)


Row 11 is a Footer row, and is excluded from calculations specifying a 'whole column' reference. The formula calculates the total number of units listed in column E.


Regards,

Barry

Using numbers to track billing units

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