Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Copy Formula Question

As reference, here is the formula I am working with;

=IF(A8='Master Data'!D2,'Master Data'!E2,IF(A8='Master Data'!D3,'Master
Data'!E3,IF(A8='Master Data'!D4,'Master Data'!E4,IF(A8='Master
Data'!D5,'Master Data'!E5,IF(A8='Master Data'!D6,'Master
Data'!E6,IF(A8='Master Data'!D7,'Master Data'!E7,IF(A8='Master
Data'!D8,'Master Data'!E8)))))))

The 'Master Data'! D2 - E2, E3 - E4 and so on...are based on a table that I
built on a separate worksheet. This formula is located in cell C8. When I
copy the cell and paste it to cell C20, my formula looks like;

=IF(A20='Master Data'!D14,'Master Data'!E14,IF(A20='Master Data'!D15,'Master
Data'!E15,IF(A20='Master Data'!D16,'Master Data'!E16,IF(A20='Master
Data'!D17,'Master Data'!E17,IF(A20='Master Data'!D18,'Master
Data'!E18,IF(A20='Master Data'!D19,'Master Data'!E19,IF(A20='Master
Data'!D20,'Master Data'!E20)))))))

While the A20 in the formula is good...I need 'Master Data'!D2 instead of
'Master Data'D14.

Are you confused yet?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 461
Default Copy Formula Question

Put $ signs next to anything you want to remain constant.

Like $D$2 keeps D2 in every formula

$D2 Keeps the column D in every formula but changes the row
D$2 Keeps row 2 in every formula but changes the column

"phowe43" wrote:

As reference, here is the formula I am working with;

=IF(A8='Master Data'!D2,'Master Data'!E2,IF(A8='Master Data'!D3,'Master
Data'!E3,IF(A8='Master Data'!D4,'Master Data'!E4,IF(A8='Master
Data'!D5,'Master Data'!E5,IF(A8='Master Data'!D6,'Master
Data'!E6,IF(A8='Master Data'!D7,'Master Data'!E7,IF(A8='Master
Data'!D8,'Master Data'!E8)))))))

The 'Master Data'! D2 - E2, E3 - E4 and so on...are based on a table that I
built on a separate worksheet. This formula is located in cell C8. When I
copy the cell and paste it to cell C20, my formula looks like;

=IF(A20='Master Data'!D14,'Master Data'!E14,IF(A20='Master Data'!D15,'Master
Data'!E15,IF(A20='Master Data'!D16,'Master Data'!E16,IF(A20='Master
Data'!D17,'Master Data'!E17,IF(A20='Master Data'!D18,'Master
Data'!E18,IF(A20='Master Data'!D19,'Master Data'!E19,IF(A20='Master
Data'!D20,'Master Data'!E20)))))))

While the A20 in the formula is good...I need 'Master Data'!D2 instead of
'Master Data'D14.

Are you confused yet?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default Copy Formula Question

If you don't want the column reference to change, add a $ in front of
it. Same for row reference. So, something like this should work:

=IF(A8='Master Data'!$D$2,'Master Data'!$E$2,IF($A$8='Master Data'!$D
$3,'Master
Data'!$E$3,IF($A$8='Master Data'!$D$4,'Master Data'!$E$4,IF($A
$8='Master
Data'!$D$5,'Master Data'!$E$5,IF($A$8='Master Data'!$D$6,'Master
Data'!$E$6,IF($A$8='Master Data'!$D$7,'Master Data'!E7,IF($A$8='Master
Data'!$D$8,'Master Data'!$E$8)))))))


On Feb 5, 2:03 pm, phowe43 wrote:
As reference, here is the formula I am working with;

=IF(A8='Master Data'!D2,'Master Data'!E2,IF(A8='Master Data'!D3,'Master
Data'!E3,IF(A8='Master Data'!D4,'Master Data'!E4,IF(A8='Master
Data'!D5,'Master Data'!E5,IF(A8='Master Data'!D6,'Master
Data'!E6,IF(A8='Master Data'!D7,'Master Data'!E7,IF(A8='Master
Data'!D8,'Master Data'!E8)))))))

The 'Master Data'! D2 - E2, E3 - E4 and so on...are based on a table that I
built on a separate worksheet. This formula is located in cell C8. When I
copy the cell and paste it to cell C20, my formula looks like;

=IF(A20='Master Data'!D14,'Master Data'!E14,IF(A20='Master Data'!D15,'Master
Data'!E15,IF(A20='Master Data'!D16,'Master Data'!E16,IF(A20='Master
Data'!D17,'Master Data'!E17,IF(A20='Master Data'!D18,'Master
Data'!E18,IF(A20='Master Data'!D19,'Master Data'!E19,IF(A20='Master
Data'!D20,'Master Data'!E20)))))))

While the A20 in the formula is good...I need 'Master Data'!D2 instead of
'Master Data'D14.

Are you confused yet?


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
Copy/Paste question Dan Excel Worksheet Functions 0 February 22nd 07 12:55 AM
Copy Formula with Linked Cells - Validation Question Lori-Wheaten Links and Linking in Excel 0 July 21st 06 03:24 PM
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
Copy worksheet question Greegan Excel Worksheet Functions 4 August 1st 05 06:43 AM
Copy Paste Question lcannon Excel Discussion (Misc queries) 1 June 14th 05 12:48 AM


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