LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Variable calculation question

If column E contains the values 1,2,3 and Q2 contains the value 2, then the
first conditiion is true and 100 should be returned.

However, the second condition is ALSO true, and the ratio should be returned.

You need conditions that are mutually exclusive.
--
Gary''s Student - gsnu200908


"EG" wrote:

I have a calculation i want to perform but am not sure how to do it. here it
is:

I have a number of cells in column "E" that have various different number
values from 1 - 100. I want a formula that tells me that if any of the
numbers in the cells of column E are equal or greater than the value in cell
Q2, then it will return a value of 100. but if any of the numbers are less
than the value in Q2, then i want to count the number of values in column E
that are = to the value in Q2 and then divide this by the number of values in
column D that = "W".

Hope this makes sense. Thanks in advance for your help.

EG

 
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
Variable name question JTWarthogs Excel Discussion (Misc queries) 3 May 7th 09 02:22 PM
two-variable data table question Judy Excel Discussion (Misc queries) 9 February 8th 09 09:12 AM
variable question peyman Excel Discussion (Misc queries) 3 October 16th 07 12:33 AM
Variable time calculation Issam LAdki New Users to Excel 6 April 7th 05 04:05 PM
I Need VBA Assistance for global variable question Brent E Excel Discussion (Misc queries) 1 March 1st 05 08:46 PM


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