Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Filling a formula down-need correct cell reference

Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 515
Default Filling a formula down-need correct cell reference

Simply remove he $ signs before the row numbers

--
Hth

Kassie Kasselman
Change xxx to hotmail


"NeedExcelHelp07" wrote:

Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Filling a formula down-need correct cell reference

But then the formula stops working because it is not a match.


"Kassie" wrote:

Simply remove he $ signs before the row numbers

--
Hth

Kassie Kasselman
Change xxx to hotmail


"NeedExcelHelp07" wrote:

Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default Filling a formula down-need correct cell reference

Those $ signs make a row or column absolute; without them, the row or column
is relative. Remove the $ sign from in front of the (row) numbers and I
think your formula will do what you want.

=IF($A2:$G2='[worksheetname.xls]John Brown!$A2:$G2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H2,FALSE)

Rick


"NeedExcelHelp07" wrote in
message ...
Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill
the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Filling a formula down-need correct cell reference

You actually need more help than just the address incrementing.

Your formula will only look at the first value, in column A, for the comparison. You need to use

=IF(SUMPRODUCT(($A2:$G2='[worksheetname.xls]John Brown!$A2:$G2)*1)=7,'[worksheetname.xls]John
Brown!$H2,FALSE)

to compare all seven values in column A through G.

HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Filling a formula down-need correct cell reference

ok. in cells are a mix between text and numeric characters. Does that change
the formula below, because I keep getting an error message.

Thanks!

"Bernie Deitrick" wrote:

You actually need more help than just the address incrementing.

Your formula will only look at the first value, in column A, for the comparison. You need to use

=IF(SUMPRODUCT(($A2:$G2='[worksheetname.xls]John Brown!$A2:$G2)*1)=7,'[worksheetname.xls]John
Brown!$H2,FALSE)

to compare all seven values in column A through G.

HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Filling a formula down-need correct cell reference

Sorry,

You had left out a single quote that is required, and I missed it when I copied your formula:

=IF(SUMPRODUCT(($A2:$G2='[worksheetname.xls]John Brown'!$A$2:$G$2)*1)=7,'[worksheetname- John
Brown-COPY.xls]John Brown'!$H$2,FALSE)

(I'm also confused by the use of three workbooks: the one with the formula, worksheetname.xls and
worksheetname- John Brown-COPY.xls


Note that this formula should be entered without line breaks - the spaces / newsreader software /
browsers will probably mess with the line wrapping.

Excel doesn't care if the values are a mix of text and numbers or not - just whether they are the
same.


HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
ok. in cells are a mix between text and numeric characters. Does that change
the formula below, because I keep getting an error message.

Thanks!

"Bernie Deitrick" wrote:

You actually need more help than just the address incrementing.

Your formula will only look at the first value, in column A, for the comparison. You need to use

=IF(SUMPRODUCT(($A2:$G2='[worksheetname.xls]John Brown!$A2:$G2)*1)=7,'[worksheetname.xls]John
Brown!$H2,FALSE)

to compare all seven values in column A through G.

HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)







  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Filling a formula down-need correct cell reference

There are only two workbooks. The John Brown outside of the worksheet name is
the name of the tab.

Once I can get this running I have about 25 workbooks I have to do this with
and all referencing back to one master file. Is there a better way to do this?

Sorry for all the confusion but I appreciate the help.


"Bernie Deitrick" wrote:

Sorry,

You had left out a single quote that is required, and I missed it when I copied your formula:

=IF(SUMPRODUCT(($A2:$G2='[worksheetname.xls]John Brown'!$A$2:$G$2)*1)=7,'[worksheetname- John
Brown-COPY.xls]John Brown'!$H$2,FALSE)

(I'm also confused by the use of three workbooks: the one with the formula, worksheetname.xls and
worksheetname- John Brown-COPY.xls


Note that this formula should be entered without line breaks - the spaces / newsreader software /
browsers will probably mess with the line wrapping.

Excel doesn't care if the values are a mix of text and numbers or not - just whether they are the
same.


HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
ok. in cells are a mix between text and numeric characters. Does that change
the formula below, because I keep getting an error message.

Thanks!

"Bernie Deitrick" wrote:

You actually need more help than just the address incrementing.

Your formula will only look at the first value, in column A, for the comparison. You need to use

=IF(SUMPRODUCT(($A2:$G2='[worksheetname.xls]John Brown!$A2:$G2)*1)=7,'[worksheetname.xls]John
Brown!$H2,FALSE)

to compare all seven values in column A through G.

HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)








  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Filling a formula down-need correct cell reference

I tried the formula but the cell references still don't increment after the
first set .
Any suggestions?

=IF(SUMPRODUCT(($A2:$G2='[Johnbrown.xls]John Brown'!$A$2:$G$2)*1)
=7,'[Johnbrown.xls]John Brown'!$H$2,FALSE)

"NeedExcelHelp07" wrote:

ok. in cells are a mix between text and numeric characters. Does that change
the formula below, because I keep getting an error message.

Thanks!

"Bernie Deitrick" wrote:

You actually need more help than just the address incrementing.

Your formula will only look at the first value, in column A, for the comparison. You need to use

=IF(SUMPRODUCT(($A2:$G2='[worksheetname.xls]John Brown!$A2:$G2)*1)=7,'[worksheetname.xls]John
Brown!$H2,FALSE)

to compare all seven values in column A through G.

HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)





  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Filling a formula down-need correct cell reference

Either remove all the $

=IF(SUMPRODUCT(($A2:$G2='[Johnbrown.xls]John Brown'!$A$2:$G$2)*1) =7,'[Johnbrown.xls]John
Brown'!$H$2,FALSE)

becomes

=IF(SUMPRODUCT((A2:G2='[Johnbrown.xls]John Brown'!A2:G2)*1) =7,'[Johnbrown.xls]John Brown'!H2,FALSE)

or just the $s before the row numbers

=IF(SUMPRODUCT(($A2:$G2='[Johnbrown.xls]John Brown'!$A2:$G2)*1) =7,'[Johnbrown.xls]John
Brown'!$H2,FALSE)


HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
I tried the formula but the cell references still don't increment after the
first set .
Any suggestions?

=IF(SUMPRODUCT(($A2:$G2='[Johnbrown.xls]John Brown'!$A$2:$G$2)*1)
=7,'[Johnbrown.xls]John Brown'!$H$2,FALSE)

"NeedExcelHelp07" wrote:

ok. in cells are a mix between text and numeric characters. Does that change
the formula below, because I keep getting an error message.

Thanks!

"Bernie Deitrick" wrote:

You actually need more help than just the address incrementing.

Your formula will only look at the first value, in column A, for the comparison. You need to
use

=IF(SUMPRODUCT(($A2:$G2='[worksheetname.xls]John Brown!$A2:$G2)*1)=7,'[worksheetname.xls]John
Brown!$H2,FALSE)

to compare all seven values in column A through G.

HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)









  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Filling a formula down-need correct cell reference

The I used the formula where I removed the $ just before the numbers.
So the rows increment but how can I get the formula to search the entire
Johnbrown worksheet, not just in those rows. The two workbooks don't have
matching cell/rows. The match could be anywhere in the spreadsheet.

Thanks alot for the help.

"Bernie Deitrick" wrote:

Either remove all the $

=IF(SUMPRODUCT(($A2:$G2='[Johnbrown.xls]John Brown'!$A$2:$G$2)*1) =7,'[Johnbrown.xls]John
Brown'!$H$2,FALSE)

becomes

=IF(SUMPRODUCT((A2:G2='[Johnbrown.xls]John Brown'!A2:G2)*1) =7,'[Johnbrown.xls]John Brown'!H2,FALSE)

or just the $s before the row numbers

=IF(SUMPRODUCT(($A2:$G2='[Johnbrown.xls]John Brown'!$A2:$G2)*1) =7,'[Johnbrown.xls]John
Brown'!$H2,FALSE)


HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
I tried the formula but the cell references still don't increment after the
first set .
Any suggestions?

=IF(SUMPRODUCT(($A2:$G2='[Johnbrown.xls]John Brown'!$A$2:$G$2)*1)
=7,'[Johnbrown.xls]John Brown'!$H$2,FALSE)

"NeedExcelHelp07" wrote:

ok. in cells are a mix between text and numeric characters. Does that change
the formula below, because I keep getting an error message.

Thanks!

"Bernie Deitrick" wrote:

You actually need more help than just the address incrementing.

Your formula will only look at the first value, in column A, for the comparison. You need to
use

=IF(SUMPRODUCT(($A2:$G2='[worksheetname.xls]John Brown!$A2:$G2)*1)=7,'[worksheetname.xls]John
Brown!$H2,FALSE)

to compare all seven values in column A through G.

HTH,
Bernie
MS Excel MVP


"NeedExcelHelp07" wrote in message
...
Below is the formula I'm using to for one worksheet to match data with a
worksheet in another workbook, if data matches it references to a cell on
that row, if it doesn't it returns false. On the master file when I fill the
below formula down on the first A2:G2 increases while the others stay the
same. How can I fix this so that they all increase when I fill down?

Thanks

=IF($A2:$G2='[worksheetname.xls]John Brown!$A$2:$G$2,'[worksheetname- John
Brown-COPY.xls]John Brown!$H$2,FALSE)








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
Automatically filling in a formula in a cell Don Excel Discussion (Misc queries) 7 October 22nd 07 09:37 PM
Copy formula down a column does not use correct cell reference brett Excel Discussion (Misc queries) 1 January 9th 06 04:31 AM
copied formula has correct cell reference, but result of original lvito Excel Worksheet Functions 1 October 14th 05 04:37 PM
filling information from one cell and filling another. Dianne Excel Worksheet Functions 1 August 15th 05 08:14 PM
How is it that a cell can transfer the correct formula, but the w. kbigs Excel Discussion (Misc queries) 3 January 12th 05 03:56 PM


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