Microsoft
Software
Hardware
Network
Question : IF(ISERROR(VLOOKUP) with a row offset
Experts,
See attached spreadsheet. On Sheet "Pivot of YTD Sales DATA" I have inputted some dummy data that is similar to a pivot table I have. On Sheet "Work", I had help for the formula in D2:D5 to return the value if a value was found, otherwise show "NO SALE".
I need to do the same thing for column E, except that the amount on Sheet "Pivot of YTD Sales DATA" is not on the same line as the ID, it is in column D, but one row down. Can I use the OFFSET function or something else to return column D and the row number - 1? I would like to do this without defining a named range, if possible.
In the first example (Work!E2, the answer should be 125483.32).
Thank you,
Kevin
Answer : IF(ISERROR(VLOOKUP) with a row offset
or consistent with the full column ranges (as opposed to a smaller range)
=IF(ISERROR(VLOOKUP(
Work!A2,'P
ivot of YTD Sales DATA'!B:D,3,FALSE)),"NO SALE",INDEX('Pivot of YTD Sales DATA'!D:D,MATCH(A2,'Pivot of YTD Sales DATA'!B:B,0)+1))
Random Solutions
error when running append query
Python: Gadfly (or other) + python GUI example
Exchange 2007 Cluster with two HUB servers and the file share witness
Expression get value from Form into Query
How do I remove and reinstall WSUS on a different server?
IFF Statement
Renaming file to previous date
How to find out the date & time without seconds from DateTime Datatype field
get reports of exchange 2007
Unload window in AS3