richard hales
Board Regular
- Joined
- Feb 18, 2009
- Messages
- 55
- Office Version
- 365
- 2019
- Platform
- Windows
Good evening everyone
I have this formula which works great but I want it to do something else
=IF(COUNTA(B4:B7),SUMPRODUCT(SUMIF('cmart code'!D2:D15,B4:B7,'cmart code'!E2:E15)),"")
Sheet1. B4:B7 is where the formula looks for a code
Sheet2. 'cmart code'!D2:D15 is the lookup code in this case it’s D2=service1 to D15= service14.
'cmart code'!E2:E15)),"") E2=1 E15=14 and if nothing is entered in B4:B7 it returns a blank cell, in Sheet2. Cell B15.
Now if any one can help me please what I need it to do now is:
D2=service1 to D15= service14 to stay the same but E2=1 E15=14 to change to GF
I have this formula which works great but I want it to do something else
=IF(COUNTA(B4:B7),SUMPRODUCT(SUMIF('cmart code'!D2:D15,B4:B7,'cmart code'!E2:E15)),"")
Sheet1. B4:B7 is where the formula looks for a code
Sheet2. 'cmart code'!D2:D15 is the lookup code in this case it’s D2=service1 to D15= service14.
'cmart code'!E2:E15)),"") E2=1 E15=14 and if nothing is entered in B4:B7 it returns a blank cell, in Sheet2. Cell B15.
Now if any one can help me please what I need it to do now is:
D2=service1 to D15= service14 to stay the same but E2=1 E15=14 to change to GF