Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default jump to cell in sheet2 when values in sheet1 is true

Hi,

I am using Excel 07. Is it possible to do the following?

If C17=E17 in Sheet1, it will then jump to cell A3 in Sheet2. However if C17
is not equal to E17 ,it will then jump to cell A3 in Sheet3. Is it also
possible to stay in Sheet2/Sheet3 once the following condition in Sheet1 is
true/false?

Because so far I've tried the different ways of jumping sheets but all seem
to only transfer the value from Sheet2 to Sheet1, and it will stay in Sheet1.

Thanks in advance.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default jump to cell in sheet2 when values in sheet1 is true

Formulas return values.

They cannot cause any jumping from sheet to sheet.

That would have to be handled through event code.

See Chip Pearson's site for how to work with events.

http://www.cpearson.com/excel/Events.aspx


Gord Dibben MS Excel MVP



wrote:

Hi,

I am using Excel 07. Is it possible to do the following?

If C17=E17 in Sheet1, it will then jump to cell A3 in Sheet2. However if C17
is not equal to E17 ,it will then jump to cell A3 in Sheet3. Is it also
possible to stay in Sheet2/Sheet3 once the following condition in Sheet1 is
true/false?

Because so far I've tried the different ways of jumping sheets but all seem
to only transfer the value from Sheet2 to Sheet1, and it will stay in Sheet1.

Thanks in advance.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default jump to cell in sheet2 when values in sheet1 is true

Hi,

The only thing you can do is have a cell return the value from one cell or
another based on a condition in a formula.

=IF(C17=E17,Sheet2!A3,Sheet3!A3)

Consider for a moment what your question asked and what it would mean if it
were possible to do what you asked. Suppose C17=E17 then the cursor would
move to Sheet2 cell A3. Now you move the cursor to A4 of Sheet2. What is
happening to the formula on Sheet1 - it is still true that C17=E17 so the
cursor would move back to Sheet2 cell A3. In other words you would have
locked your cursor in Sheet2 or Sheet3 for ever.

What you might consider is a Worksheet_Change event macro. In that case it
would respond to changes in C17 and E17, not to the formula.

If this helps, please click the Yes button.

"amelia" wrote in message
...
Hi,

I am using Excel 07. Is it possible to do the following?

If C17=E17 in Sheet1, it will then jump to cell A3 in Sheet2. However if
C17
is not equal to E17 ,it will then jump to cell A3 in Sheet3. Is it also
possible to stay in Sheet2/Sheet3 once the following condition in Sheet1
is
true/false?

Because so far I've tried the different ways of jumping sheets but all
seem
to only transfer the value from Sheet2 to Sheet1, and it will stay in
Sheet1.

Thanks in advance.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default jump to cell in sheet2 when values in sheet1 is true

I've read through the website recommended by you and Gord..Ive a better
picture now. thanks!

"Shane Devenshire" wrote:

Hi,

The only thing you can do is have a cell return the value from one cell or
another based on a condition in a formula.

=IF(C17=E17,Sheet2!A3,Sheet3!A3)

Consider for a moment what your question asked and what it would mean if it
were possible to do what you asked. Suppose C17=E17 then the cursor would
move to Sheet2 cell A3. Now you move the cursor to A4 of Sheet2. What is
happening to the formula on Sheet1 - it is still true that C17=E17 so the
cursor would move back to Sheet2 cell A3. In other words you would have
locked your cursor in Sheet2 or Sheet3 for ever.

What you might consider is a Worksheet_Change event macro. In that case it
would respond to changes in C17 and E17, not to the formula.

If this helps, please click the Yes button.

"amelia" wrote in message
...
Hi,

I am using Excel 07. Is it possible to do the following?

If C17=E17 in Sheet1, it will then jump to cell A3 in Sheet2. However if
C17
is not equal to E17 ,it will then jump to cell A3 in Sheet3. Is it also
possible to stay in Sheet2/Sheet3 once the following condition in Sheet1
is
true/false?

Because so far I've tried the different ways of jumping sheets but all
seem
to only transfer the value from Sheet2 to Sheet1, and it will stay in
Sheet1.

Thanks in advance.



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
Click one cell sheet1, display all related recs on sheet2 Ginsu Excel Worksheet Functions 1 December 17th 08 11:46 PM
[=Sheet1!A1] - if i use Column A1 ('Sheet1') / A2 ('Sheet2') Lawrence C H Tan Excel Worksheet Functions 0 January 19th 07 08:29 PM
formula-add 2 numbers of cell a1 and a2 of sheet1 ans-b9in sheet2 Anuja Excel Worksheet Functions 1 September 15th 06 06:52 AM
can i type sheet1 A5 and make it show Sheet2 A6 cell HelpMe Excel Discussion (Misc queries) 1 February 25th 05 01:44 AM
Copy values from Sheet1 to Sheet2 Eintsein_mc2 Excel Discussion (Misc queries) 1 January 6th 05 05:02 AM


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