LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 258
Default CSE Formula Prob

Good morning --
I'm trying to write an array formula that computes the minimum ratio between
one number and the sum of several columns, across about 50 rows of data. I
want to avoid problems that could occur when either the numerator or
denominator doesn't exist (because the user hasn't acquired that much data
yet). I got it to work checking to see if the denominator exists, with this
formula, which appeared to work:

{=MIN(IF(SUM('Practice Data'!$M$6:$V$53)<0,'Practice
Data'!$AI$6:$AI$53/SUM('Practice Data'!$M$6:$V$53),""))}

However, when I tried to check to see if the numerator existed as well, I
got a #VALUE! returned. Here's the offending formula:

{=MIN(IF(AND('Practice Data'!$AI$6:$AI$53<0,SUM('Practice
Data'!$M$6:$V$53)<0),'Practice Data'!$AI$6:$AI$53/SUM('Practice
Data'!$M$6:$V$53),""))}

Thanks in advance.
 
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
vlookup prob with all #n/a's Janis Excel Discussion (Misc queries) 5 July 30th 07 10:26 PM
If statements and conditions - again!! new prob Maliya9 Excel Worksheet Functions 2 January 6th 07 02:07 PM
Macro Prob Carl Excel Worksheet Functions 3 August 28th 06 05:03 PM
Counting prob superkopite Excel Discussion (Misc queries) 13 January 23rd 06 09:18 AM
A little help, prob simple to anyone else john_w100 New Users to Excel 5 June 17th 05 01:47 PM


All times are GMT +1. The time now is 03:57 PM.

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

About Us

"It's about Microsoft Excel"