Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old August 18th 08, 03:52 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2008
Posts: 2
Default Tie cell together

I have a workbook with 2 sheets, the sheet 2 column A is always the same as
sheet 1 column A. I can't put a formula in sheet 2 column B because users
have to enter numbers. When sorting is changed in Sheet 1 column A, how can I
have column B of sheet 2 moved with column A of sheet 2.
--
Gemini_Dream

  #2   Report Post  
Old August 18th 08, 10:44 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 213
Default Tie cell together

I have a workbook with 2 sheets, the sheet 2 column A is always the
same as sheet 1 column A. I can't put a formula in sheet 2 column B
because users have to enter numbers. When sorting is changed in Sheet
1 column A, how can I have column B of sheet 2 moved with column A of
sheet 2.


If I understand the question, one way is to use a value in sheet 2 column A
to look up the corresponding row in the newly-sorted sheet 1.

For example, put this in sheet2!B1 and copy downward as far as needed:
=IF(ISNA(VLOOKUP(A1,Sheet1!A:B,2,FALSE)),"",
VLOOKUP(A1,Sheet1!A:B,2,FALSE))
The "IF" part yields an empty result if the lookup value is missing in
sheet1.

It sounds like there's a formula to be applied after the lookup, so wrap
the formula around the one indicated above.
  #3   Report Post  
Old August 19th 08, 03:45 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2008
Posts: 2
Default Tie cell together

I can't put a formula in sheet 2 column "B" because in this column manuel
entry of data will be made. This is why cells in column "B" of sheet 2 must
be anchor or tie to those in sheet 2 of column A so they follow column "A"
cells as they move.
--
Gemini_Dream


"MyVeryOwnSelf" wrote:

I have a workbook with 2 sheets, the sheet 2 column A is always the
same as sheet 1 column A. I can't put a formula in sheet 2 column B
because users have to enter numbers. When sorting is changed in Sheet
1 column A, how can I have column B of sheet 2 moved with column A of
sheet 2.


If I understand the question, one way is to use a value in sheet 2 column A
to look up the corresponding row in the newly-sorted sheet 1.

For example, put this in sheet2!B1 and copy downward as far as needed:
=IF(ISNA(VLOOKUP(A1,Sheet1!A:B,2,FALSE)),"",
VLOOKUP(A1,Sheet1!A:B,2,FALSE))
The "IF" part yields an empty result if the lookup value is missing in
sheet1.

It sounds like there's a formula to be applied after the lookup, so wrap
the formula around the one indicated above.



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
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell [email protected] Excel Worksheet Functions 2 November 7th 07 09:39 AM
How can I make a blank cell in a formula cell with a range of cell Vi Excel Discussion (Misc queries) 5 June 21st 07 02:46 PM
How to create/run "cell A equals Cell B put Cell C info in Cell D abmb161 Excel Discussion (Misc queries) 5 January 26th 06 06:36 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


All times are GMT +1. The time now is 03:40 PM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2004-2017 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017