• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Create an auto-populated summary from manual entry Booking Tracker

id4excel

New Member
Hi All,
I want to create an auto-populated (Q3:T16) summary from manual entry (A2 : P16) Booking Tracker.

Please see the attached file, I have done some entries to show the expected results.

looking for a non-macro formula based approach, as this sheet will be shared between some technically challenged co-workers.

Regards
 

Attachments

  • Booking_Tracker_E.xls
    22.5 KB · Views: 8
I don't suppose we can go the other way, where you manually enter data in what is the proposed "summary" layout, and then generate the big table via formulas? (it would be much easier)

But, if that's not the case, here's how you can do it with just formulas.
 

Attachments

  • Booking_Tracker_LM.xlsx
    24.5 KB · Views: 23
Last edited:
Dear Luke,
Those are crazy head spinning formulas (at-least for me) Thanks for your awesome solution.

Not sure what those row and column in formula means and why have you used "|" when matching 2 cells, also what that ^ sign is for in the end with -1?

Guess I would never be able to learn excel the way you guys know it. :(
 
Last edited:
Luke,

Like id4excel said, learning is one difficult task, and more importantly applying the appropriate formula for the given situation is even more difficult!!

Regards,
Prasad DN
 
Glad you liked them. As I said, changing the structure would make things much easier, but sometimes we work w/ what we have. :)

In short, each formula is looking at the table and finding the non-blank cells. For the Dates, we need to know which column(s) or row(s) our data is in (hence the COLUMN/ROW functions). Once we have that array of numbers, we use either the SMALL or COUNTIF function to tell the formula which number from the array to choose. After we have the row/col number, we plug that into INDEX, who returns the correct value.

One small problem at this point. If you do:
=INDEX(Range,0)
The INDEX doesn't break. It just assumes you want the first value. But in our case, if there's no match, we want to make an error so we can trap it w/ the IFERROR function. To do this, we use the math equation:
(1/x)^-1
If you remember you're algebra, you'll know that that equation doesn't really do anything math-wise, it evaluates to x. But...if x = 0, then we get a DIV/0 error...and we can trap it!!! :cool:

I used the "|" marker as a form of delimiter. Let's say we wanted to find the combination of "Hot" with "Dog Snacks". But, in our data, we had a couple of cells with "Hot Dog" and "Snacks". If we just do a normal concatenation, our formula might think this was a match. :eek: So, we stick the delimiter in there, so it instead compares:
Hot|Dog Snacks
with
Hot Dog|Snacks
and XL knows that this isn't a match now. It might not have been needed in this case, but I tend to try to error proof things where I can. :)
 
Thanks for the detailed explanation Luke, will immerse more into your solution and see if I can understand it,the way you have written it.

Best Regards
 
Back
Top