Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How to get the result with IF function

Hi,

Kindly advise how to get the result in return with the following condition

A B
12 10

B value must be =1 but =< 15 will be result A value, otherwise 0.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to get the result with IF function

Try this:

=AND(B1=1,B1<=15)*A1

--
Biff
Microsoft Excel MVP


"Leng" wrote in message
...
Hi,

Kindly advise how to get the result in return with the following condition

A B
12 10

B value must be =1 but =< 15 will be result A value, otherwise 0.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default How to get the result with IF function

Hi,
Assuming A is Cell A1 and B is cell B1
=IF(AND(B1=1,B1<=15),A1,0)
Regards - Dave

"Leng" wrote:

Hi,

Kindly advise how to get the result in return with the following condition

A B
12 10

B value must be =1 but =< 15 will be result A value, otherwise 0.

Thanks

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
I want result of a function in the cell and not the function itsel Rana Excel Worksheet Functions 4 July 2nd 07 06:20 AM
Can not get function result Jenny Excel Discussion (Misc queries) 3 March 14th 07 01:05 PM
FV Function result is unexpected. RushatiINDIA Excel Worksheet Functions 8 February 28th 07 03:13 AM
Value or function as result.... Jan Jansens Excel Worksheet Functions 0 September 5th 05 02:23 PM
function based on result of same function GolfGal Excel Discussion (Misc queries) 1 April 6th 05 08:03 PM


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