+ Reply to Thread
Results 1 to 11 of 11

INDEX MATCH for auto costings calculations.

  1. #1
    Forum Contributor
    Join Date
    04-01-2015
    Location
    Sydney Australia
    MS-Off Ver
    Office 365 latest
    Posts
    171

    Lightbulb INDEX MATCH for auto costings calculations.

    I thought I would try be clever and use a table with INDEX MATCH to extract the basic formula`s I needed for each column in my auto calculator for costings over (daily, weekly, monthly, yearly etc)..
    after creating it I realized the table is static and that the 2 MATCHES will simply point to the cells reference or formula, even though it returns the value of the cell in the table via INDEX..

    that creates the problem when I copy drag the formulas down in the calculator it keeps referencing the same CELL $C2...

    I believe this would mean that for each row in my calculator sheet, I would need a WHOLE NEW TABLE for EACH ROW, with $C3, then $C4 etc for each new row in the calculator. ??

    Is there a way to make the tables cell reference dynamic so that it updates when I drag the formula down. I think not, because the cell is static, and the match function is simply pointing to its contents, index grabs it and runs it. Can I do something to my INDEX formula to make it update the cell reference to move with the row number?
    $C3, $C4

    right now its static like this...

    Screenshot_20200517142554.png

    Screenshot_20200517142617.png

    I know I can use CHOOSE MATCH, functions together, but I felt this looked tidier to me in the formula bar...anyway
    Attached Files Attached Files
    Last edited by jitterbug888; 05-17-2020 at 01:23 AM.

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: INDEX MATCH for auto costings calculations.

    Hi, if you would setup your functions table different, then this is possible:
    Please Login or Register  to view this content.
    Cheers
    Erwin
    Attached Files Attached Files
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Forum Contributor
    Join Date
    04-01-2015
    Location
    Sydney Australia
    MS-Off Ver
    Office 365 latest
    Posts
    171

    Re: INDEX MATCH for auto costings calculations.

    Let me dabble with that i`ll be back !

  4. #4
    Forum Contributor
    Join Date
    04-01-2015
    Location
    Sydney Australia
    MS-Off Ver
    Office 365 latest
    Posts
    171

    Lightbulb Re: INDEX MATCH for auto costings calculations.

    Eastw00d,

    I`m a bit lost on this, the +1 not sure what it does, and I messed around with custom format on my currency lists here not sure if this is from that or the formula. (attached).
    I tried my own formula adjustment as well. Not sure what i`m trying to achieve here with the table array anymore... I was thinking that each cell should hold the column $C and travel down from there, $C2, $C3, $C4 ETC.

    the Vlookup would look for $D2 (whatever is chosen from the drop down in column D), in the first column of the range A2:G12, then the MATCH function would choose the correct heading in the table B1:G1, with exact match,

    at the intersection of those two, would be the cell content. This is where I thought I would be able to specify the relationship between the x and y axis in the table, Like if it were monthly chosen in the drop down list in sheet "loan and biz costs", then in the table, monthly intersecting with Week in the columns, then its a conversion of the C2 (average bill) for monthly to Week, which means C2/4 to give me the weekly result. And this would change depending on the option chosen in the drop down.
    which would map to another cell in the referenced table (autoCostings). If the drop down menu was changed to yearly then the weekly conversion would be C2/52 to convert the yearly fee to a weekly breakdown.

    maybe CHOOSE(MATCH. would be simpler but I liked this idea of referencing the table...


    Attachment 678100

    Attachment 678101
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: INDEX MATCH for auto costings calculations.

    The VLOOKUP-function, is for the position vertically and the MATCH function for the columnnumber in the index. "+1" is because the VLOOKUP searches only in the first column, and the top-row starts at the second column. If I would do =vlookup("monthly",A2:G12;match("day";B1:G1;1);0), I would end where I started. i.e. monthly on A4. With + 1, it's the value in column B4.

    Cheers
    Erwin

  6. #6
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: INDEX MATCH for auto costings calculations.

    Another possibility is in stead of VLOOKUP , the INDEX function, with the same setup that I made, probably more clear for you:
    Please Login or Register  to view this content.
    index over the whole table,
    match for the rownumber
    match for the columnnumber
    Cheers
    Erwin

  7. #7
    Forum Contributor
    Join Date
    04-01-2015
    Location
    Sydney Australia
    MS-Off Ver
    Office 365 latest
    Posts
    171

    Re: INDEX MATCH for auto costings calculations.

    hi Eastw00d, thanks for helping out.

    I get the Vlookup logic you created,
    but not sure how the *$C2 would work on the end,

    Because what i`m attempting to do is have the "period" here determine the payment frequency, then look at broken down into daily, weekly, monthly, quarterly, biannually and yearly.

    The table autoCostings, I thought i`d be able to call the formula from any of those cell intersections like conversion of monthly to daily , I realized the Vlookup will only call the contents of the cell like $C2/30 for the monthly to daily conversion. However this doesnt work as the $C2 remains fixed, it doesnt change to $C3 when I copy the formula down because the cell reference is in that static table cell and not in the formula. So it remains the same at $C2.

    each cell combination required a different formula based on the drop down choice. quarterly to day requires $C3/90,

    Attachment 678282


    Attachment 678283

    The index formula I understand even less. *C19 i`m not getting.

    Attachment 678288

    the CHOOSE (MATCH..) works but I wanted to make this with a table, however I dont think its going to work...

  8. #8
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: INDEX MATCH for auto costings calculations.

    Hi jitterbug888,
    your attachments are not visible, you should upload them via the attachment manager (via Go Advanced).
    Because what i`m attempting to do is have the "period" here determine the payment frequency, then look at broken down into daily, weekly, monthly, quarterly, biannually and yearly.
    That's what I did:
    The way I made the table it is independent of the costs/profits (only time related) . So you get a percentage depending on the schedule.
    Multiply this with the costs in the LOANS & BIZ COSTS table (c2 and c19) and you have the cost spread out over the columns E..J

    Maybe I am completely wrong and I don't understand at all what you want. Given your examples it looks like you want to put the cost into the functions table, imho that is the other way round. In that way you need for every cost a new table, like you said. Not the most efficient way.

    Please clarify me.
    Cheers
    Erwin

  9. #9
    Forum Contributor
    Join Date
    04-01-2015
    Location
    Sydney Australia
    MS-Off Ver
    Office 365 latest
    Posts
    171

    Re: INDEX MATCH for auto costings calculations.

    hi Eastw00d,

    thanks for your efforts, yes I think I didnt give the right explanation and it seems I want the results put into the autoCostings table, no I was basically trying to do what one can do with
    CHOOSE (MATCH) But have each required option (from Choose)stored in a table (autoCostings) to be retrieved and used in the BIZ LOANS E > J, and the formula in each cell of the table (autoCostings
    would adjust as the formula is copied down the cells in BIZ LOANS, but as you say and ive realized afterward, that would involved changing the cell references for the entire table in autoCostings
    which are static unchanging by nature, Vlookup and match simply point to the content in the cells, they dont update it, that would require a new table for each row of BIZ LOANS..

    Well it was just experimenting with my ideas as i`m still new to learning excel and making more of a concentrated effort this year. I did learn some insights and tricks from you though so thanks for the input!!

  10. #10
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: INDEX MATCH for auto costings calculations.

    Well, I can make your table a little less static, by using this function:
    Please Login or Register  to view this content.
    But you still need 1 table per cost.

    Cheers
    Erwin
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    04-01-2015
    Location
    Sydney Australia
    MS-Off Ver
    Office 365 latest
    Posts
    171

    Re: INDEX MATCH for auto costings calculations.

    Thanks EastW00d!
    I learnt a lot of what to try and not do just asking you the question Thank you,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 05-04-2020, 07:17 PM
  2. [SOLVED] Index and Match to auto populate a price
    By karstens in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2019, 02:13 PM
  3. Need VBA to auto select first item in drop down list which uses Index Match
    By jimmy.crowe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2018, 08:57 PM
  4. INDEX MATCH MATCH will not auto populate and takes LONG
    By njm0059 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2018, 04:32 AM
  5. Index, Match , Auto-Filter, Sort
    By JG101 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-31-2016, 03:40 PM
  6. [SOLVED] Formula to auto-fill Index/Match not working
    By rajncajn in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-18-2013, 09:21 AM
  7. Auto filling calendar (Index\match function)
    By sc204 in forum Excel General
    Replies: 4
    Last Post: 02-22-2011, 11:31 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1