lesliewheeler
New Member
- Joined
- Dec 1, 2016
- Messages
- 32
- Office Version
- 2013
- Platform
- Windows
Hi
I have the below 2 formulas
formula in cell D3 =VLOOKUP(B3,$R$1:$T$37,2,0) - This is pasted in cell D3 right down to D1000001
formula in cell E3 =IF(B3=0,"LOSS",IF(OR(VALUE(D3)=(VALUE(LEFT(C2,1))),VALUE(D3)=VALUE(RIGHT(C2,1))),"HIT","LOSS"))- This is pasted in cell E3 right down to E1000001
Can anyone help me with the VBA code for these 2 formula.
Thank You.
I have the below 2 formulas
formula in cell D3 =VLOOKUP(B3,$R$1:$T$37,2,0) - This is pasted in cell D3 right down to D1000001
formula in cell E3 =IF(B3=0,"LOSS",IF(OR(VALUE(D3)=(VALUE(LEFT(C2,1))),VALUE(D3)=VALUE(RIGHT(C2,1))),"HIT","LOSS"))- This is pasted in cell E3 right down to E1000001
Can anyone help me with the VBA code for these 2 formula.
Thank You.