Forum Discussion

rrbailey's avatar
rrbailey
Copper Contributor
Jun 03, 2022
Solved

Subtract like values that share similar data

I have 4 sets of data that I am attempting to compare and subtract the numbers in the columns to the right of said data. Column A and Column D are the similar static data. Colmn B and E are the varia...
  • mtarler's avatar
    mtarler
    Jun 04, 2022
    so you only want the values in columns D/E to have the difference shown? Try this:
    =IFERROR(VLOOKUP(D3,A$3:B$100,2,0),0)-E3
    So if it doesn't find the name in col D in col A then it will return 0 - D3 or basically negative of the value in E3

Resources