Forum Discussion

sconway1985's avatar
sconway1985
Brass Contributor
Feb 27, 2022
Solved

VLOOKUP with random input data

Hello.    I have an issue with infrequent data being fed from a sensor at 5 minute intervals into a pivot table (See fig.1). Many times the data does not populate for some reason or the other and i...
  • mtarler's avatar
    mtarler
    Feb 28, 2022
    Well.... Here is a more 'simple' version that still uses VLOOKUP:
    =VLOOKUP(MAXIFS(PvSCD!A:A,PvSCD!A:A,"<="&B11,PvSCD!B:B,">0"),PvSCD!A:B,2)
    so what this does is it finds the 'lookup' value for the VLOOKUP based on the MAX value that is <= the value you are looking for AND the Data value is >0

Resources