#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ChrisMattock
 
Posts: n/a
Default If Function?!?


I have 4 different statements of which one needs to be entered into a
cell depending on some conditions, I have worked out the conditions to
produce a true/false response in four cells as seen below

A B
1 FALSE STATEMENT 1
2 FALSE STATEMENT 2
3 FALSE STATEMENT 3
4 TRUE STATEMENT 4

Depending on which cell is true I want the result cell to have a
different statement come up, i.e. If A4 is TRUE then STATEMENT 4 should
be shown in cell B10, if A3 is TRUE then STATEMENT 3 should be shown in
cell B10... the conditions are such that there is only ever one cell
that can be TRUE.

Someone help please :D


--
ChrisMattock
------------------------------------------------------------------------
ChrisMattock's Profile: http://www.excelforum.com/member.php...o&userid=33912
View this thread: http://www.excelforum.com/showthread...hreadid=545038

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default If Function?!?

="STATEMENT " & MATCH(TRUE,A1:A4,0)

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"ChrisMattock"
wrote in message
news:ChrisMattock.28b9qz_1148472908.1448@excelforu m-nospam.com...

I have 4 different statements of which one needs to be entered into a
cell depending on some conditions, I have worked out the conditions to
produce a true/false response in four cells as seen below

A B
1 FALSE STATEMENT 1
2 FALSE STATEMENT 2
3 FALSE STATEMENT 3
4 TRUE STATEMENT 4

Depending on which cell is true I want the result cell to have a
different statement come up, i.e. If A4 is TRUE then STATEMENT 4 should
be shown in cell B10, if A3 is TRUE then STATEMENT 3 should be shown in
cell B10... the conditions are such that there is only ever one cell
that can be TRUE.

Someone help please :D


--
ChrisMattock
------------------------------------------------------------------------
ChrisMattock's Profile:

http://www.excelforum.com/member.php...o&userid=33912
View this thread: http://www.excelforum.com/showthread...hreadid=545038



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Leo Heuser
 
Posts: n/a
Default If Function?!?

"ChrisMattock"
skrev i en meddelelse
news:ChrisMattock.28b9qz_1148472908.1448@excelforu m-nospam.com...

I have 4 different statements of which one needs to be entered into a
cell depending on some conditions, I have worked out the conditions to
produce a true/false response in four cells as seen below

A B
1 FALSE STATEMENT 1
2 FALSE STATEMENT 2
3 FALSE STATEMENT 3
4 TRUE STATEMENT 4

Depending on which cell is true I want the result cell to have a
different statement come up, i.e. If A4 is TRUE then STATEMENT 4 should
be shown in cell B10, if A3 is TRUE then STATEMENT 3 should be shown in
cell B10... the conditions are such that there is only ever one cell
that can be TRUE.

Someone help please :D


--
ChrisMattock



Hi Chris

One way:

In B10

=INDEX(B1:B4,MATCH(TRUE,A1:A4,0))

--
Best regards
Leo Heuser

Followup to newsgroup only please.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default If Function?!?

Hi

=INDEX(B1:B4,MATCH(TRUE,A1:A4,0))


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )




"ChrisMattock"
wrote in message
news:ChrisMattock.28b9qz_1148472908.1448@excelforu m-nospam.com...

I have 4 different statements of which one needs to be entered into a
cell depending on some conditions, I have worked out the conditions to
produce a true/false response in four cells as seen below

A B
1 FALSE STATEMENT 1
2 FALSE STATEMENT 2
3 FALSE STATEMENT 3
4 TRUE STATEMENT 4

Depending on which cell is true I want the result cell to have a
different statement come up, i.e. If A4 is TRUE then STATEMENT 4 should
be shown in cell B10, if A3 is TRUE then STATEMENT 3 should be shown in
cell B10... the conditions are such that there is only ever one cell
that can be TRUE.

Someone help please :D


--
ChrisMattock
------------------------------------------------------------------------
ChrisMattock's Profile:
http://www.excelforum.com/member.php...o&userid=33912
View this thread: http://www.excelforum.com/showthread...hreadid=545038



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ChrisMattock
 
Posts: n/a
Default If Function?!?


Thanks all, that's working now.


--
ChrisMattock
------------------------------------------------------------------------
ChrisMattock's Profile: http://www.excelforum.com/member.php...o&userid=33912
View this thread: http://www.excelforum.com/showthread...hreadid=545038



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Leo Heuser
 
Posts: n/a
Default If Function?!?

"ChrisMattock"
skrev i en meddelelse
news:ChrisMattock.28bg03_1148481029.8685@excelforu m-nospam.com...

Thanks all, that's working now.


--
ChrisMattock


You´re welcome :-)

Leo


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
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


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