Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 74
Default what should be simple

b2 =min(g2,o2,w2,ae2)
g2 =k2/n2
o2 =s2/v9
....

b2 works when all the cell formulas have data to compute, but does not work
when one of the formulas returns the error msg #div (no data)

Thanks for your help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default what should be simple

Hi,

Maybe something like the in G2 & O2

=IF(N2<"",K2/N2,"")
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Rene" wrote:

b2 =min(g2,o2,w2,ae2)
g2 =k2/n2
o2 =s2/v9
...

b2 works when all the cell formulas have data to compute, but does not work
when one of the formulas returns the error msg #div (no data)

Thanks for your help

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default what should be simple

Either you can modify the formulas in g2,o2,w2,ae2 to handle the error.

Instead of =S2/V9 modify that to =IF(COUNT(S2,V9)=2,S2/V9,"")


OR use the below formula to return MIN() . Please note that this is an array
formula. You create array formulas in the same way that you create other
formulas, except you press CTRL+SHIFT+ENTER to enter the formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

=MIN(IF((MOD(COLUMN(G2:AE2)+1,8)=0)*(ISNUMBER(G2:A E2)),G2:AE2))


--
Jacob (MVP - Excel)


"Rene" wrote:

b2 =min(g2,o2,w2,ae2)
g2 =k2/n2
o2 =s2/v9
...

b2 works when all the cell formulas have data to compute, but does not work
when one of the formulas returns the error msg #div (no data)

Thanks for your help

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 74
Default what should be simple

Thanks Mike. It seems to work. I'll test the whole database to be sure :)
Another question: the index formula messed up when I extended the database
and now returns the formula itself instead of the result

=index(i2:at2,match(b2,g2:at2,o)

Trying to use a formula that will return the text of a cell in the min group
"winner"

"Mike H" wrote:

Hi,

Maybe something like the in G2 & O2

=IF(N2<"",K2/N2,"")
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Rene" wrote:

b2 =min(g2,o2,w2,ae2)
g2 =k2/n2
o2 =s2/v9
...

b2 works when all the cell formulas have data to compute, but does not work
when one of the formulas returns the error msg #div (no data)

Thanks for your help

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 834
Default what should be simple

Select the cell, then menu FormatCellsNumber and select General. Then hit
F2 and then Enter. Should clear it.

--

HTH

Bob

"Rene" wrote in message
...
Thanks Mike. It seems to work. I'll test the whole database to be sure
:)
Another question: the index formula messed up when I extended the database
and now returns the formula itself instead of the result

=index(i2:at2,match(b2,g2:at2,o)

Trying to use a formula that will return the text of a cell in the min
group
"winner"

"Mike H" wrote:

Hi,

Maybe something like the in G2 & O2

=IF(N2<"",K2/N2,"")
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Rene" wrote:

b2 =min(g2,o2,w2,ae2)
g2 =k2/n2
o2 =s2/v9
...

b2 works when all the cell formulas have data to compute, but does not
work
when one of the formulas returns the error msg #div (no data)

Thanks for your help



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
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM
Simple lookup - or maybe not so simple - help! ChrisHodds Excel Worksheet Functions 1 September 27th 06 03:09 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM
Make it more simple or intuitive to do simple things Vernie Charts and Charting in Excel 1 March 16th 05 04:01 AM


All times are GMT +1. The time now is 09:36 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"