Invoice date formula

Posted on 2012-08-21
Last Modified: 2012-08-21
Need the highlighted yellow section updated with the "date" in the Raw Data tab as to when the MS# will be invoiced.

Please let me know if you have any questions or concerns.

Question by:SPXHT
    LVL 50

    Expert Comment

    by:barry houdini
    Try this formula in C2 copied down

    =IFERROR(LOOKUP(9.99E+307,INDEX('Raw Data'!D$3:AZ$200,MATCH(B2&"",'Raw Data'!A$3:A$200,0),0),'Raw Data'!D$1:AZ$1),"No date")

    see attached

    regards, barry
    LVL 11

    Expert Comment

    Berry could you explain the 9.99E+307?  what's up with that value?
    LVL 50

    Accepted Solution

    That's almost the largest number you can put in a cell in Excel (technically it's 9.99999999999999E+307 but my version should suffice and it's a little shorter). The INDEX and MATCH parts of the formula find the correct row then the LOOKUP function looks for that "Bignum" - it won't find that number so it then matches with the last number in that row, which is your invoice amount, and the date is found from the corresponding column in row 1

    regards, barry

    Author Closing Comment

    That works!



    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Suggested Solutions

    Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
    Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
    The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
    This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now