View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Help Tidying up formula

One suggestion

=IF($E12="","",IF(OR(Reintype($E12)="Assumed",Rein type($E12)="Ceded"),VLOOKU
P($B$6&$G12,[Data.xls]DECAP_ALL2!A:W,17+($I12-1),FALSE),""))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Paul" wrote in message
...
Hi,

I'm trying to minimise the size of a file by trimming down the formulae.
Would anybody have any suggestions on the following


=IF($E12="","",IF(Reintype($E12)="Assumed",VLOOKUP ($B$6&G12,[Data.xls]DECAP_
ALL2!A:W,17+($I12-1),FALSE),IF(Reintype($E12)="Ceded",VLOOKUP($B$6&$ G12,[Dat
a.xls]DECAP_ALL2!A:W,17+($I12-1),FALSE),"")))

(note: "Reintype" is a user define function whcih tests to see if the
content of Exx is within certain ranges of numbers