Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default how to create a formula

I want to create a formula as follows:-
if(c3=c4) and(c5<2) I want a "1" displayed or else a blank. Also if(c3=0) I
want a blank. I have tried to create a formula and it works but it displays
either "TRUE" or "FALSE" which I do not want to display.
Any help will be appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,358
Default how to create a formula

=IF(C3=0,"",IF(AND(C3=C4,C5<C2),1,""))
--
** John C **
Please remember if your question is answered, to mark it answered :). It
helps everyone.


"Fred Golfer" wrote:

I want to create a formula as follows:-
if(c3=c4) and(c5<2) I want a "1" displayed or else a blank. Also if(c3=0) I
want a blank. I have tried to create a formula and it works but it displays
either "TRUE" or "FALSE" which I do not want to display.
Any help will be appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how to create a formula

Try: =IF(AND(C3=C4,C5<2),1,"")
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,000 Files:362 Subscribers:62
xdemechanik
---
"Fred Golfer" wrote:
I want to create a formula as follows:-
if(c3=c4) and(c5<2) I want a "1" displayed or else a blank. Also if(c3=0) I
want a blank. I have tried to create a formula and it works but it displays
either "TRUE" or "FALSE" which I do not want to display.
Any help will be appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,358
Default how to create a formula

And if C3 =0 and C4=0?
--
** John C **

"Max" wrote:

Try: =IF(AND(C3=C4,C5<2),1,"")
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,000 Files:362 Subscribers:62
xdemechanik
---
"Fred Golfer" wrote:
I want to create a formula as follows:-
if(c3=c4) and(c5<2) I want a "1" displayed or else a blank. Also if(c3=0) I
want a blank. I have tried to create a formula and it works but it displays
either "TRUE" or "FALSE" which I do not want to display.
Any help will be appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how to create a formula

Agreed. I missed that bit in the OP after the "also".
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,000 Files:362 Subscribers:62
xdemechanik
---

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
how do I create a formula Harold[_2_] Excel Discussion (Misc queries) 2 June 20th 08 08:06 PM
Create formula EOB Excel Worksheet Functions 5 September 23rd 06 07:57 AM
How do I create a formula by percentage within a formula? Miss Texas Excel Worksheet Functions 1 March 27th 06 04:51 AM
need to create a formula to create a timesheet but haven't a clue AHurd Excel Discussion (Misc queries) 7 August 22nd 05 12:04 PM
how do I create a if-then formula? karen Excel Worksheet Functions 1 May 3rd 05 09:19 PM


All times are GMT +1. The time now is 01:34 AM.

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"