Solved

Invoice date formula

Posted on 2012-08-21
307 Views
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.

Pete
27835685-Test-File.xlsx
0
Question by:SPXHT

LVL 50

Expert Comment

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
dates.xlsx
0

LVL 11

Expert Comment

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

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
0

Author Closing Comment

That works!

Thanks,

Pete
0

Featured Post

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.