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
HTML dropdownllist
Something similar to VB's AndAlso / OrElse in SQL Server
Toshiba Tecra 8100 Multimedia Audio Controller Problem
Access to MS SQL
WSUS Not Yet Reported
How to chmod and chown all files with a certain permission to a new permission?
sql in access problem
Statement must appear within on handler????
Scan for broken links
vCenter Error - Validation not applicable this time- in migrating clone into different ESXi server