Detectiveclem
Active Member
- Joined
- May 31, 2014
- Messages
- 320
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
Hi can anyone help. I am currently using the following formula to sum to two based on another cell having data (i.e. not blank)
=IF(O20="","",Q19+P20)
This works perfectly well so long as Q19 has data, however this is not always the case and therefore I would prefer to use the LOOKUP formula so that if O20 has data the calculation will be based upon the last no blank cell in Q which then would work.
I have played around with the formula
=LOOKUP(9.99E+307,Q6:Q19) by try to include it with the =IF formula but have been unsuccessful. I would really appreciate some help here.
Thank you
=IF(O20="","",Q19+P20)
This works perfectly well so long as Q19 has data, however this is not always the case and therefore I would prefer to use the LOOKUP formula so that if O20 has data the calculation will be based upon the last no blank cell in Q which then would work.
I have played around with the formula
=LOOKUP(9.99E+307,Q6:Q19) by try to include it with the =IF formula but have been unsuccessful. I would really appreciate some help here.
Thank you