+ Reply to Thread
Results 1 to 6 of 6

Match formula explained

  1. #1
    Registered User
    Join Date
    08-21-2017
    Location
    Bolton
    MS-Off Ver
    Excel 2016
    Posts
    6

    Match formula explained

    Hi Everyone,

    I am sure one of the experts can help me, well I am hoping so anyway.

    I have three Sheets

    Options - Which is column form and hold Options 1-18

    Actual - which hold columnar financial data for each of the 18 options

    Report Tab - This takes the financial data held on the Actual tab and presents individual option chosen. It does this using DATA VALIDATION drop down and the the MATCH and OFFSET function.

    The two formulas are

    =IF(ISNA(MATCH(Report!$D$1,Months,0))=1,0,IF(MATCH($D$1,Months,0)<=20,MATCH($D$1,Months,0),IF(MATCH($D$1,Months,0)>24,MATCH($D$1,Months,0)-24,MATCH($D$1,Months,0)-20)))

    This formula allows the report user to select the option 1-18 via a drop down.


    =IF(ISNA(MATCH(Report!$D$1,Months,0))=1,0,IF(MATCH(Report!$D$1,Months,0)<=12,OFFSET(Actual!$B$16,0,MATCH(Report!$D$1,Months,0),1,1),IF(MATCH(Report!$D$1,Months,0)>=15,OFFSET(Actual!$B$16,0,MATCH(Report!$D$1,Months,0)+2,1,1),OFFSET(Actual!$B$16,0,MATCH(Report!$D$1,Months,0)+1,1,1))))

    This formula looks at option chosen and then pulls data from the Actual TAB based on the criteria


    My problems

    The report was built a few years ago when I was a lot better with excel - It was built to allow 12 options in the Report TAB and Actual TAB - I have now extended to 18 columns so an extra 6 columns of data from the Actual tab


    Thank you for reviewing It is much appreciated

    Let me know if I can provide any further detail

    Thank you

    David

  2. #2
    Valued Forum Contributor
    Join Date
    06-22-2018
    Location
    Blackpool, England
    MS-Off Ver
    2019
    Posts
    408

    Re: Match formula explained

    Ey-up, fellow Lancashire lad... Please could you upload a de-sensitized copy of your worksheet so we can take a look without having to guess what's where?

    See the yellow tab at the top of the page to find out how.

    Tim
    Never stop learning!
    <--- please consider *-ing !

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Match formula explained

    Because you are using named ranges in those formulas, I suggest you look at the Months named range, and then extend that to include the extra columns you want

    Also, on a side note, you can probably change this,,,
    =IF(ISNA(MATCH(Report!$D$1,Months,0))=1,0,
    to this...
    =IF(ISNA(MATCH(Report!$D$1,Months,0)),0,

    You may also need to check if...
    MATCH($D$1,Months,0)<=20
    also needs to be adjusted?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    08-21-2017
    Location
    Bolton
    MS-Off Ver
    Excel 2016
    Posts
    6

    Re: Match formula explained

    Hi Tim

    Tried to upload but not working, can I email you

    Thank you

    David

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Match formula explained

    did you follow the instructions? the paperclip does not work if you tried that way, hence the instructions

  6. #6
    Valued Forum Contributor
    Join Date
    06-22-2018
    Location
    Blackpool, England
    MS-Off Ver
    2019
    Posts
    408

    Re: Match formula explained

    Sorry, David, a privately sent attachment won't be stored with the thread and so the thread can't benefit other forum members when they're searching for answers to their own problems in future. That's the benefit of this being a forum rather than a helpline.

    Following the instructions in the yellow band at the top of the page does work.

    Tim

+ 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. [SOLVED] INDEX/MATCH error cannot be explained
    By lsargent in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-05-2017, 07:07 PM
  2. [SOLVED] Need Workday formula explained
    By stpeter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-19-2016, 02:01 PM
  3. Need a VLOOKUP formula explained
    By MILEHIEAGLE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-01-2016, 12:49 PM
  4. Index, Match and lookups explained (hopefully)
    By Michael in Nanchang in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2015, 02:10 AM
  5. Please help how to get the Formula for below explained...!
    By mzaheer_abbas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-13-2014, 02:17 AM
  6. SUMIF formula explained
    By 92811 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-28-2011, 05:07 PM
  7. need help with a v lookup formula, just need it to be explained
    By damagedbodies in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-12-2010, 01:08 PM

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