Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Need HELP!! IF OR formula driving me crazy!!!!

=IF(B6=IN,A6+C6)*OR(B6=OUT,A6-C6)...........The first part of the formula
works but the cell won't recognise the second part!! I need cell B6 to do 1
sum if I enter IN and another sum if I enter OUT?? Any ideas please???

Caz
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Need HELP!! IF OR formula driving me crazy!!!!

It is easier than you are making it...

=if(B6="IN", A6+C6, if(B6="OUT", A6-C6, "NoValue))
--
HTH...

Jim Thomlinson


"caz - can't use excel!!" wrote:

=IF(B6=IN,A6+C6)*OR(B6=OUT,A6-C6)...........The first part of the formula
works but the cell won't recognise the second part!! I need cell B6 to do 1
sum if I enter IN and another sum if I enter OUT?? Any ideas please???

Caz

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default Need HELP!! IF OR formula driving me crazy!!!!

"caz - can't use excel!!" <caz - can't use
wrote:
=IF(B6=IN,A6+C6)*OR(B6=OUT,A6-C6)...........The first part of the formula
works but the cell won't recognise the second part!! I need cell B6 to do
1
sum if I enter IN and another sum if I enter OUT?? Any ideas please???


If B6 can be only "IN" or "OUT", try one of the following equivalent forms,
whichever is easier for you to understand and possibly modify in the futu

=if(B6="in", A6+C6, A6-C6)

=A6 + if(B6="in", C6, -C6)

If B6 can have other values (or none), you need to specify what you want
with B6 is neither "IN" nor "OUT". Try:

=if(B6="in", A6+C6, if(B6="out", A6-C6, ""))

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 360
Default Need HELP!! IF OR formula driving me crazy!!!!

Try:
=IF(B6="IN",A6+C6,IF(B6="out",A6-C6,""))

If b6 is empty, you get nothing.

Cliff Edwards
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Need HELP!! IF OR formula driving me crazy!!!!

Ooops missed a quote...
=if(B6="IN", A6+C6, if(B6="OUT", A6-C6, "NoValue"))
--
HTH...

Jim Thomlinson


"Jim Thomlinson" wrote:

It is easier than you are making it...

=if(B6="IN", A6+C6, if(B6="OUT", A6-C6, "NoValue))
--
HTH...

Jim Thomlinson


"caz - can't use excel!!" wrote:

=IF(B6=IN,A6+C6)*OR(B6=OUT,A6-C6)...........The first part of the formula
works but the cell won't recognise the second part!! I need cell B6 to do 1
sum if I enter IN and another sum if I enter OUT?? Any ideas please???

Caz



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Need HELP!! IF OR formula driving me crazy!!!!

You are AMAZING!!! THANK YOU!!!

1 Question though.............How????

"Jim Thomlinson" wrote:

It is easier than you are making it...

=if(B6="IN", A6+C6, if(B6="OUT", A6-C6, "NoValue))
--
HTH...

Jim Thomlinson


"caz - can't use excel!!" wrote:

=IF(B6=IN,A6+C6)*OR(B6=OUT,A6-C6)...........The first part of the formula
works but the cell won't recognise the second part!! I need cell B6 to do 1
sum if I enter IN and another sum if I enter OUT?? Any ideas please???

Caz

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Need HELP!! IF OR formula driving me crazy!!!!

Works without the "novalue" does this make a difference??

"Jim Thomlinson" wrote:

Ooops missed a quote...
=if(B6="IN", A6+C6, if(B6="OUT", A6-C6, "NoValue"))
--
HTH...

Jim Thomlinson


"Jim Thomlinson" wrote:

It is easier than you are making it...

=if(B6="IN", A6+C6, if(B6="OUT", A6-C6, "NoValue))
--
HTH...

Jim Thomlinson


"caz - can't use excel!!" wrote:

=IF(B6=IN,A6+C6)*OR(B6=OUT,A6-C6)...........The first part of the formula
works but the cell won't recognise the second part!! I need cell B6 to do 1
sum if I enter IN and another sum if I enter OUT?? Any ideas please???

Caz

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Need HELP!! IF OR formula driving me crazy!!!!

One answer... Practice...
--
HTH...

Jim Thomlinson


"caz - can''t use excel!!" wrote:

You are AMAZING!!! THANK YOU!!!

1 Question though.............How????

"Jim Thomlinson" wrote:

It is easier than you are making it...

=if(B6="IN", A6+C6, if(B6="OUT", A6-C6, "NoValue))
--
HTH...

Jim Thomlinson


"caz - can't use excel!!" wrote:

=IF(B6=IN,A6+C6)*OR(B6=OUT,A6-C6)...........The first part of the formula
works but the cell won't recognise the second part!! I need cell B6 to do 1
sum if I enter IN and another sum if I enter OUT?? Any ideas please???

Caz

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Need HELP!! IF OR formula driving me crazy!!!!

The "NoValue" part is for when cell B6 contains something other than "IN" or
"OUT". You might want to change the "NoValue" to just "" so that nothing is
displayed for those conditions...

=IF(B6="IN",A6+C6,IF(B6="OUT",A6-C6,""))

--
Rick (MVP - Excel)


"caz - can''t use excel!!" wrote
in message ...
Works without the "novalue" does this make a difference??

"Jim Thomlinson" wrote:

Ooops missed a quote...
=if(B6="IN", A6+C6, if(B6="OUT", A6-C6, "NoValue"))
--
HTH...

Jim Thomlinson


"Jim Thomlinson" wrote:

It is easier than you are making it...

=if(B6="IN", A6+C6, if(B6="OUT", A6-C6, "NoValue))
--
HTH...

Jim Thomlinson


"caz - can't use excel!!" wrote:

=IF(B6=IN,A6+C6)*OR(B6=OUT,A6-C6)...........The first part of the
formula
works but the cell won't recognise the second part!! I need cell B6
to do 1
sum if I enter IN and another sum if I enter OUT?? Any ideas
please???

Caz


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
Driving me CRAZY~ please help Tara New Users to Excel 0 July 7th 08 07:29 PM
Formula driving me crazy RocketMan Excel Discussion (Misc queries) 11 October 4th 07 01:35 AM
Formula is driving me crazy????? Chris Watson Excel Worksheet Functions 19 February 13th 06 07:12 PM
basic...but driving me crazy! hawsoon13 Excel Discussion (Misc queries) 3 May 7th 05 01:27 PM
HELP!? Passwords are driving me crazy. NoviceJESS Excel Worksheet Functions 6 January 21st 05 06:02 AM


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