View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mass mass is offline
external usenet poster
 
Posts: 7
Default sumproduct text if

for a bunch of calling destinations, i have two price lists. The first price
list is special rates which applies only to half the destinations. The
second price list is standard that applies to all.

Now i have a call list column which is a list of calls with call
destinations that are in two columns (destination, type of call- eg fixed or
mobile).

I want to pull the rate for each call in the call list against the special
price list. But if the special price list is blank (because there is no
special rate- this is not the same as 0) then i want it to revert to the
standard price list.

Right now, i am using sumproduct to check both the destination country and
type of call in the call list, against the same in the price list and it
returns the standard price correctly.

I can't seem to apply it with an IF() formula for the special pricing if the
lookup pulls a blank.
Thanks

"Sandy Mann" wrote:

Can SUMPRODUCT() return Text?

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Gary''s Student" wrote in message
...
=if(or((sumproduct()=""),(sumproduct()="text")),an othervalue,sumproduct())

--
Gary''s Student - gsnu200759