Question : Formula Help

SUMPRODUCT((Desc="Authorized")*($L15:$AT15))
Provides sum of columns that are headed with "Authorized"

Desc = Range name related to Row 1: L1:AT1

This formula works fine except in instances where there is text entered in the range L15:AT15.  How do I exclude the cells that contain text so that this doesn't return an ERROR?

Answer : Formula Help

Instead of this:

=SUMPRODUCT((Desc="Authorized")*($L15:$AT15))

use this:

=SUM(IF(ISTEXT($L15:$AT15),0,(Desc="Authorized")*($L15:$AT15)))

Enter as an array formula by pressing CTRL+SHIFT+ENTER.

jppinto
Random Solutions  
 
programming4us programming4us