Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Logical test question

I need a formula that says, "Hey, the data entered in cell D6 is =/ 50,000,
so I need to copy all of Row 6 and paste it into another worksheet". Is that
possible? It seems like it would be. But I think that the formula needs to be
in D6, and not in the other worksheet. Would I be better off to record a
macro? And if so, can the IF function be pasted into a macro?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 459
Default Logical test question

stevieboy1313 wrote:
I need a formula that says, "Hey, the data entered in cell D6 is =/
50,000, so I need to copy all of Row 6 and paste it into another
worksheet". Is that possible? It seems like it would be. But I think
that the formula needs to be in D6, and not in the other worksheet.
Would I be better off to record a macro? And if so, can the IF
function be pasted into a macro?


Hi Stevie,

It is impossible that the formula is in the same cells of the input value to
check (a cell or is blank or have a formula or have an input value (number
or text, it doesn't matter...)), but you can use a formula in a different
cell to check if the value you input in a cell is greater equal or lower
than a fixed value or the value in another cell. For example you could type
this formula in E6:

=IF(D6=50000;"The value is too high for me";"OK")

Then you could also use Conditional Formatting to change the font color as
the value change.

If you want to use macros, you can use the VBA instructions:

If ... Then

or

If ... Else ... Then

or

If ... ElseIf ... Else ... Then

But you cannot obtain this instruction by the macro recorder, you have to
type yourself...

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


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
Calculate mean of test scores from rows of test answers RiotLoadTime Excel Discussion (Misc queries) 1 July 26th 06 05:14 PM
Logical Test if statements with text--Excel 2002 Matt Excel Discussion (Misc queries) 2 November 2nd 05 11:32 PM
logical test for each and every cell in range matt Excel Discussion (Misc queries) 4 September 16th 05 06:11 AM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
logical test - within a range esslingerdav Excel Worksheet Functions 4 November 17th 04 03:13 PM


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