Hello all,
It's been a very long time since I've posted here (old account won't let me log in, so I had to create this new one)
Anyways, I'm trying to help my wife by making an automated spread sheet for her job. Shes a GM at our local bar and at the end of every night she needs to fill out her paperwork and reconcile the numbers for the day. Each set of paperwork per day needs to have a top sheet that has the important number listed for easy viewing. for years we have had to manually write these down after looking through long receipt printouts. After figuring out how to pull the same info up on her computer, I need a formula that will automatically search a second worksheet for a key word(s) and then pull the number value from the text string.
I found a helpful website that gave me the following formula:
=RIGHT(A2, LEN(A2) - MAX(IF(ISNUMBER(MID(A2, ROW(INDIRECT("1:"&LEN(A2))), 1) *1)=FALSE, ROW(INDIRECT("1:"&LEN(A2))), 0)))
Obviously I replace the value A2 with the cell in the separate sheet. This has gotten me the closest to what I need except that it also includes the multiple "." before the numbers (eg. " Cash Payments ................. 492.25" shows as "................. 492.25" and not "492.25").
The next problem I found is that occasionally if it was a busy night, there may be more people bar tending that logged into the point of sale system causing the information to have more cells than other days. So the formula above wont work with the cell that I reference.
Here is a small sample of the information it needs to comb through:
==========================================
Cash Reconciliation
==========================================
Open Cash .......................... 0.00
+Total Cash ....................... 492.25
Cash Payments ................. 492.25
+Cash Pay Ins .................... 0.00
-Cash Pay Outs ................... 0.00
-Gift Card Cashouts .............. 0.00
-Total Tips ....................... 243.00
Auto Gratuity ................... 0.00
+Non-Cash Tips ................. 243.00
=Cash Due ......................... 249.25
-Close Cash ......................... 0.00
=Over/Short ....................... 249.25
Total Cash Due 249.25
Out of this sample, I would need the values for "Cash Payments", "Total Tips", and "Cash Due". Any help on this will be GREATLY appreciated, and it will help my wife to get her paperwork done quicker and home sooner every night.
Bookmarks