Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Conditional formula

Hello,

I want to make all the conditions occur in cell b1:
if cell a1 = 1 then cell b = 7
if cell a1 = 2 then cell b = 6
if cell a1 = 3 then cell b = 5
if cell a1 = 4 then cell b = 4

I know how to do =IF(G2=1,"7") but I can't figure out how to add the rest
of the conditions to it so they are all in cell b1. I've tried a dozen
different combinations of commas, brackets, colons, etc. and searching "help"
isn't helpful! How do I combine all these conditions? Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Conditional formula

Sorry, I meant to say b1 for all the conditions where b occurs. So for
example,

if cell a1 = 1 then cell b1 = 7

Thank you


"RichM" wrote:

Hello,

I want to make all the conditions occur in cell b1:
if cell a1 = 1 then cell b = 7
if cell a1 = 2 then cell b = 6
if cell a1 = 3 then cell b = 5
if cell a1 = 4 then cell b = 4

I know how to do =IF(G2=1,"7") but I can't figure out how to add the rest
of the conditions to it so they are all in cell b1. I've tried a dozen
different combinations of commas, brackets, colons, etc. and searching "help"
isn't helpful! How do I combine all these conditions? Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Conditional formula

If the sequence continues, perhaps...

= 8-A1

= = = = = =
HTH :)
Dana DeLouis

On 5/29/10 12:41 PM, RichM wrote:
Hello,

I want to make all the conditions occur in cell b1:
if cell a1 = 1 then cell b = 7
if cell a1 = 2 then cell b = 6
if cell a1 = 3 then cell b = 5
if cell a1 = 4 then cell b = 4

I know how to do =IF(G2=1,"7") but I can't figure out how to add the rest
of the conditions to it so they are all in cell b1. I've tried a dozen
different combinations of commas, brackets, colons, etc. and searching "help"
isn't helpful! How do I combine all these conditions? Thank you.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Conditional formula

Thank you.I figured it out. I now have another question related to this
posted in another thread.

"RichM" wrote:

Hello,

I want to make all the conditions occur in cell b1:
if cell a1 = 1 then cell b = 7
if cell a1 = 2 then cell b = 6
if cell a1 = 3 then cell b = 5
if cell a1 = 4 then cell b = 4

I know how to do =IF(G2=1,"7") but I can't figure out how to add the rest
of the conditions to it so they are all in cell b1. I've tried a dozen
different combinations of commas, brackets, colons, etc. and searching "help"
isn't helpful! How do I combine all these conditions? Thank you.

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 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Formula, Conditional Formula Needed Karl Excel Discussion (Misc queries) 12 June 23rd 07 04:12 AM
Conditional Formula to indicate Formula in cell SteveW New Users to Excel 9 August 2nd 06 01:12 AM
Conditional Formula Captain Steve Excel Discussion (Misc queries) 3 November 7th 05 11:04 PM
Formula for conditional "ifs"? ringo tan New Users to Excel 4 December 1st 04 01:42 PM


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