Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
biggs
 
Posts: n/a
Default Formula help please


Im trying to write a formula that basically says

if the figure in J5 is less than or equal to what is in cell D8
AND
less than or equal to what is in E8
then take the data from cell C8

ive tried to do an IF statement within another IF statement but i am
getting an error. this is the formula i have tried

=IF(J5=D8,(=IF(J5<=E8,C8,0)),0)

Im sure im missing something simple but cant see it, can anyone help
please?


--
biggs
------------------------------------------------------------------------
biggs's Profile: http://www.excelforum.com/member.php...o&userid=27397
View this thread: http://www.excelforum.com/showthread...hreadid=469448

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(AND(J5<=D8,J5<=E8),C8,0)

--
HTH

Bob Phillips

"biggs" wrote in
message ...

Im trying to write a formula that basically says

if the figure in J5 is less than or equal to what is in cell D8
AND
less than or equal to what is in E8
then take the data from cell C8

ive tried to do an IF statement within another IF statement but i am
getting an error. this is the formula i have tried

=IF(J5=D8,(=IF(J5<=E8,C8,0)),0)

Im sure im missing something simple but cant see it, can anyone help
please?


--
biggs
------------------------------------------------------------------------
biggs's Profile:

http://www.excelforum.com/member.php...o&userid=27397
View this thread: http://www.excelforum.com/showthread...hreadid=469448



  #3   Report Post  
kk
 
Posts: n/a
Default

Try

=If(AND(J5<=D8,J5<=E8),C8,0)



"biggs" wrote in
message ...

Im trying to write a formula that basically says

if the figure in J5 is less than or equal to what is in cell D8
AND
less than or equal to what is in E8
then take the data from cell C8

ive tried to do an IF statement within another IF statement but i am
getting an error. this is the formula i have tried

=IF(J5=D8,(=IF(J5<=E8,C8,0)),0)

Im sure im missing something simple but cant see it, can anyone help
please?


--
biggs
------------------------------------------------------------------------
biggs's Profile:
http://www.excelforum.com/member.php...o&userid=27397
View this thread: http://www.excelforum.com/showthread...hreadid=469448


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? meris Excel Worksheet Functions 1 September 6th 05 07:14 AM
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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