#1   Report Post  
Corey Brock
 
Posts: n/a
Default Excel Formulas

Is is possible to make a letter in a cell trigger an
equation. For example, if in a cell I put the letter "Y"
(for yes) it will add a group of cells then sugtract a
value from another cell to give me a total. But if I enter
the letter "N" (for no) then it will only add a group of
cells to give me a total without subtracting a value as it
did before?

Thanks,

Corey Brock
  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=IF(A1="Y",SUM(B2:B10)-C10,IF(A1="N",SUM(B2:B10),""))

Regards,

Peo Sjoblom

"Corey Brock" wrote:

Is is possible to make a letter in a cell trigger an
equation. For example, if in a cell I put the letter "Y"
(for yes) it will add a group of cells then sugtract a
value from another cell to give me a total. But if I enter
the letter "N" (for no) then it will only add a group of
cells to give me a total without subtracting a value as it
did before?

Thanks,

Corey Brock

  #4   Report Post  
Nick Hodge
 
Posts: n/a
Default

Corey

I have presumed Y and N are the only options with my previous answer, you
could add another IF function to check for blanks or non entry of N or Y,
like so

=IF(A1="Y",SUM(B1:D1)-E1,IF(A1="N",SUM(B1:D1),IF(A1="","","Error")))

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"Corey Brock" wrote in message
...
Is is possible to make a letter in a cell trigger an
equation. For example, if in a cell I put the letter "Y"
(for yes) it will add a group of cells then sugtract a
value from another cell to give me a total. But if I enter
the letter "N" (for no) then it will only add a group of
cells to give me a total without subtracting a value as it
did before?

Thanks,

Corey Brock



  #5   Report Post  
 
Posts: n/a
Default

Appreciate you help!

Corey
-----Original Message-----
Corey

I have presumed Y and N are the only options with my

previous answer, you
could add another IF function to check for blanks or non

entry of N or Y,
like so

=IF(A1="Y",SUM(B1:D1)-E1,IF(A1="N",SUM(B1:D1),IF

(A1="","","Error")))

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England



"Corey Brock" wrote

in message
...
Is is possible to make a letter in a cell trigger an
equation. For example, if in a cell I put the letter "Y"
(for yes) it will add a group of cells then sugtract a
value from another cell to give me a total. But if I

enter
the letter "N" (for no) then it will only add a group of
cells to give me a total without subtracting a value as

it
did before?

Thanks,

Corey Brock



.



  #6   Report Post  
Corey Brock
 
Posts: n/a
Default

Another Question...

If I enter the word "bounced" in one cell can I trigger a
value in another cell ($500.00) to become a negative
number (-$500.00)?

Regrads,
Corey Brock



-----Original Message-----
Corey

I have presumed Y and N are the only options with my

previous answer, you
could add another IF function to check for blanks or non

entry of N or Y,
like so

=IF(A1="Y",SUM(B1:D1)-E1,IF(A1="N",SUM(B1:D1),IF

(A1="","","Error")))

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England



"Corey Brock" wrote

in message
...
Is is possible to make a letter in a cell trigger an
equation. For example, if in a cell I put the letter "Y"
(for yes) it will add a group of cells then sugtract a
value from another cell to give me a total. But if I

enter
the letter "N" (for no) then it will only add a group of
cells to give me a total without subtracting a value as

it
did before?

Thanks,

Corey Brock



.

  #7   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Not unless the cell with 500 holds a formula, if that's the case

=IF(A1="Bounced",-(formula),formula)

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"Corey Brock" wrote in message
...
Another Question...

If I enter the word "bounced" in one cell can I trigger a
value in another cell ($500.00) to become a negative
number (-$500.00)?

Regrads,
Corey Brock



-----Original Message-----
Corey

I have presumed Y and N are the only options with my

previous answer, you
could add another IF function to check for blanks or non

entry of N or Y,
like so

=IF(A1="Y",SUM(B1:D1)-E1,IF(A1="N",SUM(B1:D1),IF

(A1="","","Error")))

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England



"Corey Brock" wrote

in message
...
Is is possible to make a letter in a cell trigger an
equation. For example, if in a cell I put the letter "Y"
(for yes) it will add a group of cells then sugtract a
value from another cell to give me a total. But if I

enter
the letter "N" (for no) then it will only add a group of
cells to give me a total without subtracting a value as

it
did before?

Thanks,

Corey Brock



.



  #8   Report Post  
RagDyer
 
Posts: n/a
Default

See your other post*S*!

You've got 3 going on the same subject.
--


Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit!
-------------------------------------------------------------------

"Corey Brock" wrote in message
...
Another Question...

If I enter the word "bounced" in one cell can I trigger a
value in another cell ($500.00) to become a negative
number (-$500.00)?

Regrads,
Corey Brock



-----Original Message-----
Corey

I have presumed Y and N are the only options with my

previous answer, you
could add another IF function to check for blanks or non

entry of N or Y,
like so

=IF(A1="Y",SUM(B1:D1)-E1,IF(A1="N",SUM(B1:D1),IF

(A1="","","Error")))

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England



"Corey Brock" wrote

in message
...
Is is possible to make a letter in a cell trigger an
equation. For example, if in a cell I put the letter "Y"
(for yes) it will add a group of cells then sugtract a
value from another cell to give me a total. But if I

enter
the letter "N" (for no) then it will only add a group of
cells to give me a total without subtracting a value as

it
did before?

Thanks,

Corey Brock



.


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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Formulas do not work in excel. Flintlock98 Excel Discussion (Misc queries) 1 January 5th 05 10:43 PM
IF/AND formulas within excel mark.ew Excel Discussion (Misc queries) 5 January 4th 05 07:12 PM
duplicating excel formulas mark Excel Discussion (Misc queries) 1 December 29th 04 01:47 PM
How do I sort a column of formulas in Excel? Gordon Excel Discussion (Misc queries) 2 November 27th 04 01:55 AM


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