Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

To all Excel guru's

Thread Tools
 
Search this Thread
 
Old Jul 6, 2004 | 03:01 PM
  #1  
Scooby Roo's Avatar
Scooby Roo
Thread Starter
Scooby Regular
 
Joined: Aug 2001
Posts: 1,222
Likes: 0
From: The Sunshine State !!!
Talking To all Excel guru's

I am trying to put a formula together using share ranges eg

if x(a number) is greater than (y) but less than (z) then calculate this or nothing

I cannot figure out how to do this anyone help
Reply
Old Jul 6, 2004 | 03:53 PM
  #2  
Trashman's Avatar
Trashman
Scooby Regular
 
Joined: Jun 2003
Posts: 2,203
Likes: 0
From: a very nice man :-) with one Fairy Token
Default

Originally Posted by Scooby Roo
I am trying to put a formula together using share ranges eg

if x(a number) is greater than (y) but less than (z) then calculate this or nothing

I cannot figure out how to do this anyone help
Well here's the logic tests etc....

=IF(AND(A1>B1,A1<B2),C1*D1,0)

A1, B1 etc are cell references so in your example A1 is 'x', B1 is 'y', B2 is 'z'. C1*D1 is just an example calculation if x>y & x<z. If that is not the case, zero is returned. If you put this in cell E1 for example, you would see either C1*D1 or zero, depending on what is in A1, B1, B2....

HTH


Probably a better solution to come though
Reply
Old Jul 6, 2004 | 04:04 PM
  #3  
Scooby Roo's Avatar
Scooby Roo
Thread Starter
Scooby Regular
 
Joined: Aug 2001
Posts: 1,222
Likes: 0
From: The Sunshine State !!!
Default

Excellent this one works a treat cheers made me a happy chappy today

Thanks again, been sat pondering this one for hours.

Thick monkey me
Reply
Old Jul 6, 2004 | 04:27 PM
  #4  
Trashman's Avatar
Trashman
Scooby Regular
 
Joined: Jun 2003
Posts: 2,203
Likes: 0
From: a very nice man :-) with one Fairy Token
Default

Originally Posted by Scooby Roo
Excellent this one works a treat cheers made me a happy chappy today

Thanks again, been sat pondering this one for hours.

Thick monkey me
We aim to please
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
leg200
Subaru Parts
5
Oct 7, 2015 07:31 AM
has-scooby
Subaru Parts
4
Oct 6, 2015 03:47 PM
bluebullet29
General Technical
9
Oct 5, 2015 02:17 PM




All times are GMT +1. The time now is 08:19 AM.