Bumping..........
Bumping..........
Try this...
![]()
Range(Cells(2, pasteColumn), Cells(numD, pasteColumn)).FormulaR1C1 = _ "=VLOOKUP(RC2,'[" & strFile & "]" & wshSrc.Name & "'!C2:C36,30,FALSE)" & _ "+VLOOKUP(RC2,'[" & strFile & "]" & wshSrc.Name & "'!C2:C36,32,FALSE)" & _ "-IF(ISNUMBER(RC[-1]),RC[-1],0)"
Last edited by AlphaFrog; 06-19-2013 at 10:16 PM.
Hey, thanks. That does work, however I just realized that I am trying to subtract every value that is to the left of the cell. So that if that if there were two cells of information to the left of the current cell, both would be subtracted:
2 3 =x-(2+3) =y-(2+3+x)
Do you or anyone else have any clue how to write a formula that would do this>?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks