Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Two answers to a true "If": =if(a,b*and c,d)?;b&C true, d false?

I wish to do two things if my "IF" statement is true: add "1" to a counter,
and post the new value of the counter to a different cell. e.g.,

=(IF(A6="F"),(($T4=$T4+1)*AND(B6=$T4))).
(true)

The function appears to be valid (I get no notice that it's wrong) but
neither of the "true" actions takes place. i.e., the counter (in T4) doesn't
get changed, and no value appears in "B6", so.....

Can one take two actions if the IF statemtnt is true? If so, what do I need
to do?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Two answers to a true "If": =if(a,b*and c,d)?;b&C true, d false?

I am not sure about why you want to do what you are trying to do. Why not
this:

=IF(A6="F",$T4=$T4+1,"") Then in cell B6 enter =$T4

"Chachg" wrote:

I wish to do two things if my "IF" statement is true: add "1" to a counter,
and post the new value of the counter to a different cell. e.g.,

=(IF(A6="F"),(($T4=$T4+1)*AND(B6=$T4))).
(true)

The function appears to be valid (I get no notice that it's wrong) but
neither of the "true" actions takes place. i.e., the counter (in T4) doesn't
get changed, and no value appears in "B6", so.....

Can one take two actions if the IF statemtnt is true? If so, what do I need
to do?

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
=IF(test,true,false) only ever returns "true"? TagTech Excel Worksheet Functions 5 December 10th 08 03:04 PM
=IF(VLOOKUP(C11,Group,2,FALSE)=D11,"True","Not Valid") and =IF(D1 Milky Excel Worksheet Functions 1 August 20th 08 08:38 PM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE") Souris Excel Programming 2 August 17th 05 05:33 AM


All times are GMT +1. The time now is 01:57 AM.

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"