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
Use of If then statement while creatin a sql view
Exchange Server Setup Encountered an Error
Client does not have permissions to send as this sender
Volume Control in system tray?
Printers Disappear
SQL Server 2005 cube processing error
Cyclical Error prevents me from copying DVD film data
MAC Recovery _MAC Book 10.5.6
Standalone Rules Editor
Strong SA Password (SAPWD)