#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RPB RPB is offline
external usenet poster
 
Posts: 4
Default If Then Logic

I want to do the following but have been have trouble.

IF A13=1, then G1=3, IF A13=2, then G1=6 and IF A13=3, then G1=9

Can anyone help????
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default If Then Logic

In G3 enter:

=3*A13
--
Gary''s Student - gsnu200859


"RPB" wrote:

I want to do the following but have been have trouble.

IF A13=1, then G1=3, IF A13=2, then G1=6 and IF A13=3, then G1=9

Can anyone help????

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default If Then Logic

Hi,

Try this in g1

=CHOOSE(A13,3,6,9)

Mike


"RPB" wrote:

I want to do the following but have been have trouble.

IF A13=1, then G1=3, IF A13=2, then G1=6 and IF A13=3, then G1=9

Can anyone help????

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default If Then Logic

Using IF() formula in G1
=IF(A13=1,3,IF(A13=2,6,IF(A13=3,9,"")))

Alternative solutions

=A13*3
OR
=CHOOSE(A13,3,6,9)


If this post helps click Yes
---------------
Jacob Skaria


"RPB" wrote:

I want to do the following but have been have trouble.

IF A13=1, then G1=3, IF A13=2, then G1=6 and IF A13=3, then G1=9

Can anyone help????

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RPB RPB is offline
external usenet poster
 
Posts: 4
Default If Then Logic

Thank you all. Most helpful.

"Jacob Skaria" wrote:

Using IF() formula in G1
=IF(A13=1,3,IF(A13=2,6,IF(A13=3,9,"")))

Alternative solutions

=A13*3
OR
=CHOOSE(A13,3,6,9)


If this post helps click Yes
---------------
Jacob Skaria


"RPB" wrote:

I want to do the following but have been have trouble.

IF A13=1, then G1=3, IF A13=2, then G1=6 and IF A13=3, then G1=9

Can anyone help????



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 947
Default If Then Logic

Another option might be:

=IF(OR(A13={1,2,3}),A13*3,"")

= = =
HTH

RPB wrote:
I want to do the following but have been have trouble.

IF A13=1, then G1=3, IF A13=2, then G1=6 and IF A13=3, then G1=9

Can anyone help????

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
LOGIC H0MELY Excel Discussion (Misc queries) 6 June 4th 08 10:41 PM
I Then logic help robnet Excel Worksheet Functions 4 July 13th 07 10:08 PM
Logic please changetires Excel Discussion (Misc queries) 2 June 20th 06 06:21 PM
If Then logic not enough workerbeeVAB Excel Discussion (Misc queries) 4 January 5th 06 05:24 PM
IRR Logic Carrie Excel Worksheet Functions 2 November 18th 05 08:59 PM


All times are GMT +1. The time now is 03:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"