Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default the formula sees the cell with a value

hi all,
i used the following equation in Q:Q range and a similar one in P:P range:
=IF(LEN(INDEX(dewanless!O:O,MATCH(urban1!$F25,dewa nless!$E:$E,0)))=0,"",INDEX(dewanless!O:O,MATCH(ur ban1!$F25,dewanless!$E:$E,0)))
and in another range of cells :
=(1000*(SUMPRODUCT((Q2:Q25<"")*(P2:P25))))/(SUMPRODUCT((P2:P25<"")*(Q2:Q25)))
the error value appears if the result of the first equation is a blank cell
either in the Q range or the P range, what should i do?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default the formula sees the cell with a value

This is a bit unruly, but you might want to add an error check to the formula
like this,

=if(iserror(IF(LEN(INDEX(dewanless!O:O,MATCH(urban 1!$F25,dewanless!$E:$E,0)))=0,"",INDEX(dewanless!O :O,MATCH(urban1!$F25,dewanless!$E:$E,0))),"",IF(LE N(INDEX(dewanless!O:O,MATCH(urban1!$F25,dewanless! $E:$E,0)))=0,"",INDEX(dewanless!O:O,MATCH(urban1!$ F25,dewanless!$E:$E,0))))

Please Note, I have not checked this specific formula, but if you would like
me to, send a sample data set.
--
Anne Murray


"nada" wrote:

hi all,
i used the following equation in Q:Q range and a similar one in P:P range:
=IF(LEN(INDEX(dewanless!O:O,MATCH(urban1!$F25,dewa nless!$E:$E,0)))=0,"",INDEX(dewanless!O:O,MATCH(ur ban1!$F25,dewanless!$E:$E,0)))
and in another range of cells :
=(1000*(SUMPRODUCT((Q2:Q25<"")*(P2:P25))))/(SUMPRODUCT((P2:P25<"")*(Q2:Q25)))
the error value appears if the result of the first equation is a blank cell
either in the Q range or the P range, what should i do?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default the formula sees the cell with a value

thanks a lot.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I make a blank cell in a formula cell with a range of cell Vi Excel Discussion (Misc queries) 5 June 21st 07 02:46 PM
Web Queries and how Excel sees the "selected box" on the web page Pelham Excel Discussion (Misc queries) 0 December 12th 06 03:04 AM
Excel sees cell formulas as constants, will not solve Derek P Excel Worksheet Functions 1 July 28th 06 04:16 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


All times are GMT +1. The time now is 08:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"