#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default IF Function

Please Help..i am using the below formula but "Value#"error is displayed.

=if(D3<=1000,"Max")+IFAnd(D31000,D3<11000),"Max7" )+IF(D311000,"Max8")

But if i used only any one condition like the 1st one
(=if(D3<=1000,"Max"))the fuction works perfectly.

Regards
Ridhi
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default IF Function

hi
try it this way....
=IF(D3<=1000,"max",IF(D3<=11000,"Max7",IF(D311000 ,"Max8")))

regards
FSt1

"Ridhi" wrote:

Please Help..i am using the below formula but "Value#"error is displayed.

=if(D3<=1000,"Max")+IFAnd(D31000,D3<11000),"Max7" )+IF(D311000,"Max8")

But if i used only any one condition like the 1st one
(=if(D3<=1000,"Max"))the fuction works perfectly.

Regards
Ridhi

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default IF Function

Hi
You probably want

=if(D3<=1000,"Max",IF(D3<11000,"Max7","Max8"))

no need to use the AND bit as <=1000 will be checked first and
checking between 1000 and 11000 will happen by default. Also no need
to check if value is 11000 as you have already checked <11000. You
might want to change <1000 or <11000 to <=.

regards
Paul
On Jun 3, 12:21*pm, Ridhi wrote:
Please Help..i am using the below formula but "Value#"error is displayed.

=if(D3<=1000,"Max")+IFAnd(D31000,D3<11000),"Max7" )+IF(D311000,"Max8")

But if i used only any one condition like the 1st one
(=if(D3<=1000,"Max"))the fuction works perfectly.

Regards
Ridhi


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default IF Function

=IF(D3<=1000,"Max",IF(And(D31000,D3<11000),"Max7" ,IF(D311000,"Max8")))


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Ridhi" wrote in message
...
Please Help..i am using the below formula but "Value#"error is displayed.

=if(D3<=1000,"Max")+IFAnd(D31000,D3<11000),"Max7" )+IF(D311000,"Max8")

But if i used only any one condition like the 1st one
(=if(D3<=1000,"Max"))the fuction works perfectly.

Regards
Ridhi



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default IF Function

that is also not working out....

"FSt1" wrote:

hi
try it this way....
=IF(D3<=1000,"max",IF(D3<=11000,"Max7",IF(D311000 ,"Max8")))

regards
FSt1

"Ridhi" wrote:

Please Help..i am using the below formula but "Value#"error is displayed.

=if(D3<=1000,"Max")+IFAnd(D31000,D3<11000),"Max7" )+IF(D311000,"Max8")

But if i used only any one condition like the 1st one
(=if(D3<=1000,"Max"))the fuction works perfectly.

Regards
Ridhi



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default IF Function

Thanks sooo much ..it worked..thanks a tone

" wrote:

Hi
You probably want

=if(D3<=1000,"Max",IF(D3<11000,"Max7","Max8"))

no need to use the AND bit as <=1000 will be checked first and
checking between 1000 and 11000 will happen by default. Also no need
to check if value is 11000 as you have already checked <11000. You
might want to change <1000 or <11000 to <=.

regards
Paul
On Jun 3, 12:21 pm, Ridhi wrote:
Please Help..i am using the below formula but "Value#"error is displayed.

=if(D3<=1000,"Max")+IFAnd(D31000,D3<11000),"Max7" )+IF(D311000,"Max8")

But if i used only any one condition like the 1st one
(=if(D3<=1000,"Max"))the fuction works perfectly.

Regards
Ridhi



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
User Function Question: Collect Condition in Dialog Box - But How toInsert into Function Equation? SteveM Excel Programming 1 January 3rd 08 03:45 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Excel - User Defined Function Error: This function takes no argume BruceInCalgary Excel Programming 3 August 23rd 06 08:53 PM
Need to open the Function Arguments window from VBA for a user defined function. [email protected] Excel Programming 0 June 20th 06 03:53 PM


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