+ Reply to Thread
Results 1 to 11 of 11

Index Match Function for Reconciliation of Date

  1. #1
    Registered User
    Join Date
    07-04-2020
    Location
    Dubai
    MS-Off Ver
    Office 2010
    Posts
    30

    Index Match Function for Reconciliation of Date

    Hello.

    I am trying to use an Index Match Function to reconcile date between statement of invoices received from Supplier and the invoices posted on my accounting software to make sure I have entered all the invoices on the accounting software.

    As you can see from the attachment, the first sheet shows the statement of account from supplier with list of invoices due. Second sheet was exported from accounting software and shows the list of invoices and values posted on the accounting software.

    I want to create a formula to match both the sheets to show whether I have recorded all the invoices on the accounting software.
    Hence I made column on the first sheet to match and populate the invoice number. Whatever invoice number is posted(i.e. on the second sheet) will appear on the same row as the corresponding invoice number in the first sheet. If it does not, it means it is not there on the second sheet and its missing and not posted.

    However the formula is not working for some reason. It is due to some formatting.
    Kindly assist.

    Please note. Any other method is helpful.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Index Match Function for Reconciliation of Date

    Administrative Note:

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Index Match Function for Reconciliation of Date

    You are trying to compare a number value with a text value.

    This will work WHERE THERE IS a match:

    =INDEX(Ledger!$B$4:$B$112,MATCH(B4,--Ledger!$B$4:$B$112,0))
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Index Match Function for Reconciliation of Date

    Format both column to number

    F1=B4*1

    Ledger

    C1=B4*1

    After that the index formula

    G4=INDEX(Ledger!$C$4:$D$112,MATCH($F4,Ledger!$C$4:$C$112,0),2)

    Notice I changed the input of the blue sheet for testing.

    See the attached file.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    07-04-2020
    Location
    Dubai
    MS-Off Ver
    Office 2010
    Posts
    30

    Re: Index Match Function for Reconciliation of Date

    Thank you @AliGW!

    I am curious. May I know what you have changed considering I use the same formula. Also both the data should be same? Text or number?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Index Match Function for Reconciliation of Date

    Our formulae are NOT the same. Look:

    =INDEX(Ledger!$B$4:$B$112,MATCH(B4,Ledger!$B$4:$B$112,0))

    =INDEX(Ledger!$B$4:$B$112,MATCH(B4,--Ledger!$B$4:$B$112,0))

    The -- forces the lookup array to be seen as a number instead of text.

    Ideally you would cleanse the data so that both tables contain EITHER text OR a real number in the related columns. Always match data types to avoid this sort of workaround.

    Glad to have helped.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  7. #7
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,292

    Re: Index Match Function for Reconciliation of Date

    Array formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Index Match Function for Reconciliation of Date

    Thanks for the rep.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  9. #9
    Registered User
    Join Date
    07-04-2020
    Location
    Dubai
    MS-Off Ver
    Office 2010
    Posts
    30

    Re: Index Match Function for Reconciliation of Date

    @oeldere --- all i had to was multiply by 1 to get the right formula. Big help

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Index Match Function for Reconciliation of Date

    Glad I could help.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  11. #11
    Registered User
    Join Date
    05-06-2021
    Location
    Multan, Pakistan
    MS-Off Ver
    Excel 365
    Posts
    2

    Re: Index Match Function for Reconciliation of Date

    Hi,

    There is actually nothing wrong with your Function. The Invoice numbers are stored as text in one sheet and as number in the other which is why it is throwing an error. You can convert the values to numbers by multiplying them with 1.

+ 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 function vs index match vba type mismatch
    By johnstylez in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-14-2022, 03:29 PM
  2. [SOLVED] Vlookup or Index and Match function - to get value next to date
    By Wasbeer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-10-2019, 07:48 AM
  3. [SOLVED] Index Match function when mutiple criteria meets and extract the date
    By FUN2BALA in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-04-2018, 08:38 AM
  4. Year to date to week - Index Match & Sum Ifs function?
    By JonasH.123 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-22-2018, 11:04 AM
  5. [SOLVED] INDEX MATCH Function with most recent date
    By thyzt in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-12-2016, 02:32 PM
  6. Complex function using Index, Match, Countifs, Closest Date -HELP!-
    By Vend1301 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-17-2015, 08:57 PM
  7. copy the data of a index match function according a date
    By mbime in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2014, 05:48 AM

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