Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-2008, 07:28 PM
afdmello
 
Posts: n/a
function" if"

Can I enter multiple truths in the logical field.


For eg:

If A3 is equal to G1 or G2 or G3 ( if true) then A1 equal to H1, if false
I want to use the "if " function again to loop as A3 is equal to G4 or G5 or
G6 (if true) then A1 is equal to H2, if false then blank.

I want this type of logic to extend from A1 to A5( so that if the cell A3
changes from G1 to G6 ( or function) then A1 to A5 changes to H1 to H4( or
function) automatically).

Afd



Reply With Quote
  #2 (permalink)  
Old 04-28-2008, 07:49 PM
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
 
Posts: n/a
RE: function" if"

Here is one way to test if a cell equals any of several other cells:

=IF((A3=G1)+(A3=G2)+(A3=G3),"value if true","value if false")
another way is to use the OR() function.
--
Gary''s Student - gsnu2007h


"afdmello" wrote:

> Can I enter multiple truths in the logical field.
>
>
> For eg:
>
> If A3 is equal to G1 or G2 or G3 ( if true) then A1 equal to H1, if false
> I want to use the "if " function again to loop as A3 is equal to G4 or G5 or
> G6 (if true) then A1 is equal to H2, if false then blank.
>
> I want this type of logic to extend from A1 to A5( so that if the cell A3
> changes from G1 to G6 ( or function) then A1 to A5 changes to H1 to H4( or
> function) automatically).
>
> Afd
>
>
>
>

Reply With Quote
  #3 (permalink)  
Old 04-28-2008, 08:15 PM
Tyro
 
Posts: n/a
Re: function" if"


Use OR functions or AND functions and read a good book on Excel by John
Walkenbach at http://www.j-walk.com/ss
I usually find it helps to acquire knowledge about something by reading a
book before I use that something.

Good luck.


Tyro

"afdmello" <afdmello@hotmail.com> wrote in message
news:uTHti2VqIHA.4376@TK2MSFTNGP06.phx.gbl...
> Can I enter multiple truths in the logical field.
>
>
> For eg:
>
> If A3 is equal to G1 or G2 or G3 ( if true) then A1 equal to H1, if
> false I want to use the "if " function again to loop as A3 is equal to G4
> or G5 or G6 (if true) then A1 is equal to H2, if false then blank.
>
> I want this type of logic to extend from A1 to A5( so that if the cell A3
> changes from G1 to G6 ( or function) then A1 to A5 changes to H1 to H4( or
> function) automatically).
>
> Afd
>
>
>



Reply With Quote
  #4 (permalink)  
Old 04-28-2008, 10:37 PM
Pete_UK
 
Posts: n/a
Re: function" if"


> I usually find it helps to acquire knowledge about something by reading a
> book before I use that something.


Did that apply when you were learning to swim, or to drive a car?
There are many things you can DO without having to read about it
first, though you keep expecting posters to buy books.

Pete
Reply With Quote
  #5 (permalink)  
Old 04-28-2008, 10:54 PM
joeu2004
 
Posts: n/a
Re: function" if"

On Apr 28, 11:28*am, "afdmello" <afdme...@hotmail.com> wrote:
> If A3 is equal to *G1 or G2 or G3 ( if true) then *A1 equal to H1, if false
> I want to use the "if " function again to loop as A3 is equal to G4 or G5
> or G6 (if true) then A1 is equal to H2, if false then blank.


One way (formula in A1):

=if(or(A3=G1,A3=G2,A3=G3), H1,
if(or(A3=G4,A3=G5,A3=G6), H2, "")

Note: "" is not exactly "blank", if by "blank" you mean empty. That
is, ISBLANK(A1) will be false, but A1="" will be true.


> I want this type of logic to extend from A1 to A5( so that if the cell A3
> changes from G1 to G6 ( or function) then A1 to A5 changes to H1 to H4( or
> function) * automatically).


This requirement does not make sense to me. The above formulation
might not meet this requirement.
Reply With Quote
  #6 (permalink)  
Old 04-29-2008, 05:06 PM
afdmello
 
Posts: n/a
Re: function" if"

Thanks

I tried out the OR function with the if , and it came out just fine. I was
trying but somehow it was not working. I used absolute references and the
formula applied to other cells too.


"joeu2004" <joeu2004@hotmail.com> wrote in message
news:e01ecc61-0603-4132-be28-c7e5fa5ab3fd@56g2000hsm.googlegroups.com...
On Apr 28, 11:28 am, "afdmello" <afdme...@hotmail.com> wrote:
> If A3 is equal to G1 or G2 or G3 ( if true) then A1 equal to H1, if false
> I want to use the "if " function again to loop as A3 is equal to G4 or G5
> or G6 (if true) then A1 is equal to H2, if false then blank.


One way (formula in A1):

=if(or(A3=G1,A3=G2,A3=G3), H1,
if(or(A3=G4,A3=G5,A3=G6), H2, "")

Note: "" is not exactly "blank", if by "blank" you mean empty. That
is, ISBLANK(A1) will be false, but A1="" will be true.


> I want this type of logic to extend from A1 to A5( so that if the cell A3
> changes from G1 to G6 ( or function) then A1 to A5 changes to H1 to H4( or
> function) automatically).


This requirement does not make sense to me. The above formulation
might not meet this requirement.


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:47 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Glitter Graphics | Credit Check | Loan | Credit Card Consolidation | Satellite TV



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114