Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default IF Statement that looks at two fields

I have two fields that I have to look at and based on those fields either
apply a specific number or have it equal the calculation in another fields.

Age (b2)
SCr (b5)

=IF(B269 AND B5<1, 1, B5)

That doesn't work. Any advise or help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default IF Statement that looks at two fields

Try it like this:

=IF(AND(B269,B5<1),1,B5)

--
Biff
Microsoft Excel MVP


"mellermj" wrote in message
...
I have two fields that I have to look at and based on those fields either
apply a specific number or have it equal the calculation in another
fields.

Age (b2)
SCr (b5)

=IF(B269 AND B5<1, 1, B5)

That doesn't work. Any advise or help would be appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default IF Statement that looks at two fields

hi
try this ......
=IF(AND(B269,B5<1),1,B5)


regards
FSt1

"mellermj" wrote:

I have two fields that I have to look at and based on those fields either
apply a specific number or have it equal the calculation in another fields.

Age (b2)
SCr (b5)

=IF(B269 AND B5<1, 1, B5)

That doesn't work. Any advise or help would be appreciated.

  #4   Report Post  
Member
 
Location: Sweden
Posts: 30
Default

=IF(AND(B269, B5<1),1,B5)


Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com
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 statement for fields with text Hemant Excel Discussion (Misc queries) 2 October 15th 07 08:10 AM
If Statement based on blank fields alaxmen Excel Worksheet Functions 3 February 8th 06 08:00 PM
Duplicate fields does not match up! If statement Patsy Excel Worksheet Functions 0 November 11th 04 12:16 AM
Duplicate fields does not match up! If statement Patsy Excel Worksheet Functions 1 November 10th 04 10:26 PM
Duplicate fields does not match up! If statement Patsy Excel Worksheet Functions 0 November 3rd 04 03:53 PM


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