View Single Post
  #1   Report Post  
cencoit
 
Posts: n/a
Default formula too long


How can I shorten this formula, I still need to add a few more variables
and everytime I try and add one I get the formula is too long error.

Thanks

=IF(AND(A16="DeKalb",D16="Poncho
250"),0)+IF(AND(A16="DeKalb",D16="Cruiser Ext.
Pak"),0)+IF(AND(A16="Dekalb",D16="Cruiser
CRW"),48)+IF(AND(A16="DeKalb",D16="Poncho
1250"),48)+IF(AND(A16="Asgrow",D16="Poncho
250"),0)+IF(AND(A16="Asgrow",D16="Cruiser Ext.
Pak"),0)+IF(AND(A16="Asgrow",D16="Cruiser
CRW"),48)+IF(AND(A16="Asgrow",D16="Poncho
1250"),48)+IF(AND(A16="Croplan",D16="Poncho
250"),0)+IF(AND(A16="Croplan",D16="Cruiser Ext.
Pak"),0)+IF(AND(A16="Croplan",D16="Cruiser
CRW"),48)+IF(AND(A16="Croplan",D16="Poncho
1250"),48)+IF(AND(A16="Northrup King",D16="Poncho
250"),16)+IF(AND(A16="Northrup King",D16="Cruiser Ext.
Pak"),16)+IF(AND(A16="Northrup King",D16="Cruiser
CRW"),48)+IF(AND(A16="Northrup King",D16="Poncho
1250"),48)+IF(AND(A16="Mycogen",D16="Poncho
250"),16)+IF(AND(A16="Mycogen",D16="Cruiser Ext.
Pak"),16)+IF(AND(A16="Mycogen",D16="Cruiser
CRW"),48)+IF(AND(A16="Mycogen",D16="Poncho 1250"),48)


--
cencoit
------------------------------------------------------------------------
cencoit's Profile: http://www.excelforum.com/member.php...o&userid=27378
View this thread: http://www.excelforum.com/showthread...hreadid=468987