help with formula

%3CLINGO-SUB%20id%3D%22lingo-sub-3133518%22%20slang%3D%22en-US%22%3Ehelp%20with%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3133518%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%20really%20struggling%20to%20work%20out%20this%20formula.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202022-02-07%20221933.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F346014i3630D132FFD6E65D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%202022-02-07%20221933.png%22%20alt%3D%22Screenshot%202022-02-07%20221933.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhat%20I%20am%20trying%20to%20do%20is%20put%20a%20formula%20into%20cell%20U2.%26nbsp%3B%20The%20formula%20must%20check%20each%20cell%20in%20the%20row%20going%20backwards%20from%20T2%20to%20I2%20until%20it%20finds%20a%20value%2C%20the%20first%20value%20it%20finds%20must%20then%20be%20deducted%20from%20F2.%20The%20result%20of%20the%20calculation%20would%20show%20in%20U2.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20much%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3133518%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3133536%22%20slang%3D%22en-US%22%3ERe%3A%20help%20with%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3133536%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1300120%22%20target%3D%22_blank%22%3E%40C17RSF%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20U2%3A%3C%2FP%3E%0A%3CP%3E%3DF2-LOOKUP(9.99999999999E%2B307%2CI2%3AT2)%3C%2FP%3E%0A%3CP%3EFill%20down.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi there, really struggling to work out this formula.Screenshot 2022-02-07 221933.png

What I am trying to do is put a formula into cell U2.  The formula must check each cell in the row going backwards from T2 to I2 until it finds a value, the first value it finds must then be deducted from F2. The result of the calculation would show in U2.

 

Any help would be much appreciated.

1 Reply

@C17RSF 

In U2:

=F2-LOOKUP(9.99999999999E+307,I2:T2)

Fill down.