Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The problem is not the formula I use except for I need to specific a range
that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The Index(SourceRange,Row#,Cloumn#) only returns 1 value from 1 Source.
I'm confused (which isn't hard) -- What are you trying to do with the multiple references suggested? "klafert" wrote: The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I am using 2 workbooks. The first workbook , d:\globalxray\customer price level4.xls is created by running a Crystal Report and then exported to Excel. It has the Customer ID, Inventory item, and the actual price being charged. This will only be updated when the price of an inventory is changed, a new inventory item is added, or any other changes made. When Crystal export to Excel it creates the workbook customer price leve4.xls and I am assuming to the amount of data it creates several sheets for one workbook. Is there a limit to the sheets that can be created in workbook? This would only increase by new customers and inventory items. I can eliminate some by including only active records. The second workbook will pull the Inventory item rate from the 1st workbook. So the second workbook should only use one worksheet. This is then saved to a .csv which I will put the formula in to pull the rate and then I will copy and pasted special to get the values only. This will be imported into an accounting program. This is all working at this time. We are just added the inventory rate now. So, if there is a better formula to use I am all for it. I can send you the spreadsheet if you need for a better understanding. Example: (source spreadsheet) d:\globalxray\customer price level4.xls A1 B1 C2 Customer ID Item ID Price 1000 14 X 17 14.50 1000 1ECNC 10.00 1000 1IHOFST 20.00 1000 1IHONOT 30.00 1000 1IHONST 0.00 2nd spreadsheet (pulls the data from the first): d:\globalxray\customer price level test.xls CustomerID ITemID Billing rate (data pulled from 1st spreadsheet 1000 14 X 17 14.50 in column C) 1000 1ECNC 10.00 1000 1IHOFST 20.00 1000 1IHONOT 30.00 1000 1IHONST 0.00 "JMay" wrote: The Index(SourceRange,Row#,Cloumn#) only returns 1 value from 1 Source. I'm confused (which isn't hard) -- What are you trying to do with the multiple references suggested? "klafert" wrote: The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
typo in sample - should be:
Example: (source spreadsheet) d:\globalxray\customer price level4.xls A B C Customer ID Item ID Price 1000 14 X 17 14.50 1000 1ECNC 10.00 1000 1IHOFST 20.00 1000 1IHONOT 30.00 1000 1IHONST 0.00 "klafert" wrote: I am using 2 workbooks. The first workbook , d:\globalxray\customer price level4.xls is created by running a Crystal Report and then exported to Excel. It has the Customer ID, Inventory item, and the actual price being charged. This will only be updated when the price of an inventory is changed, a new inventory item is added, or any other changes made. When Crystal export to Excel it creates the workbook customer price leve4.xls and I am assuming to the amount of data it creates several sheets for one workbook. Is there a limit to the sheets that can be created in workbook? This would only increase by new customers and inventory items. I can eliminate some by including only active records. The second workbook will pull the Inventory item rate from the 1st workbook. So the second workbook should only use one worksheet. This is then saved to a .csv which I will put the formula in to pull the rate and then I will copy and pasted special to get the values only. This will be imported into an accounting program. This is all working at this time. We are just added the inventory rate now. So, if there is a better formula to use I am all for it. I can send you the spreadsheet if you need for a better understanding. Example: (source spreadsheet) d:\globalxray\customer price level4.xls A1 B1 C2 Customer ID Item ID Price 1000 14 X 17 14.50 1000 1ECNC 10.00 1000 1IHOFST 20.00 1000 1IHONOT 30.00 1000 1IHONST 0.00 2nd spreadsheet (pulls the data from the first): d:\globalxray\customer price level test.xls CustomerID ITemID Billing rate (data pulled from 1st spreadsheet 1000 14 X 17 14.50 in column C) 1000 1ECNC 10.00 1000 1IHOFST 20.00 1000 1IHONOT 30.00 1000 1IHONST 0.00 "JMay" wrote: The Index(SourceRange,Row#,Cloumn#) only returns 1 value from 1 Source. I'm confused (which isn't hard) -- What are you trying to do with the multiple references suggested? "klafert" wrote: The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
I would put D:\GLOBAL X RAY\[customer price level4.xls]Sheet into a cell, e.g. E1 then =INDEX(INDIRECT("'"&E1&ROW(A1)&"'!$A2:$C2"),3) Note the quotation marks =INDEX(INDIRECT(" ' " &E1&ROW(A1)& " ' !$A2:$C2"),3) This will evaluate to sheet 1 in the first instance, but as you copy down the page, ROW(A1) will become B1, C1 etc and give rise to Sheet2, Sheet3. -- Regards Roger Govier "klafert" wrote in message ... The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If I am understanding right ((**try this on a Backup copy **)
In you level4.xls file Insert a new column between Item ID and Price. In this new column (Now Col C) in the first data row enter = A1&B1 and copy down to bottom. (This concatenates your Customer ID and Item ID - making it unique). In your test.xls file with Col A and B already filled with your Cust ID and Item ID in the first data row Col C enter (example row 2): =VLOOKUP(A2&B2,[d:\globalxray\customer price level4.xls]Sheet1!C$2:D$2000,2) Copy down as far as needed Hope this Helps Jim "klafert" wrote: I am using 2 workbooks. The first workbook , d:\globalxray\customer price level4.xls is created by running a Crystal Report and then exported to Excel. It has the Customer ID, Inventory item, and the actual price being charged. This will only be updated when the price of an inventory is changed, a new inventory item is added, or any other changes made. When Crystal export to Excel it creates the workbook customer price leve4.xls and I am assuming to the amount of data it creates several sheets for one workbook. Is there a limit to the sheets that can be created in workbook? This would only increase by new customers and inventory items. I can eliminate some by including only active records. The second workbook will pull the Inventory item rate from the 1st workbook. So the second workbook should only use one worksheet. This is then saved to a .csv which I will put the formula in to pull the rate and then I will copy and pasted special to get the values only. This will be imported into an accounting program. This is all working at this time. We are just added the inventory rate now. So, if there is a better formula to use I am all for it. I can send you the spreadsheet if you need for a better understanding. Example: (source spreadsheet) d:\globalxray\customer price level4.xls A1 B1 C2 Customer ID Item ID Price 1000 14 X 17 14.50 1000 1ECNC 10.00 1000 1IHOFST 20.00 1000 1IHONOT 30.00 1000 1IHONST 0.00 2nd spreadsheet (pulls the data from the first): d:\globalxray\customer price level test.xls CustomerID ITemID Billing rate (data pulled from 1st spreadsheet 1000 14 X 17 14.50 in column C) 1000 1ECNC 10.00 1000 1IHOFST 20.00 1000 1IHONOT 30.00 1000 1IHONST 0.00 "JMay" wrote: The Index(SourceRange,Row#,Cloumn#) only returns 1 value from 1 Source. I'm confused (which isn't hard) -- What are you trying to do with the multiple references suggested? "klafert" wrote: The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This worked for row 2 and sorta for the rest but for some reason put the
price which is pulling from the source sheet and is in 3rd column, but the rest pulled the inventory id which is the 2nd column. Also, I had to copy the file name all the way down is this correct. You have resolved the issue of multiple worksheet. Now to check the formula. Like I said it worked for the 1st row of data which is a2-c2 the results showed up in C2 like it should. The rest appears to be working but pulling the wrong data. I went to change the column number but it appears to be correct. "Roger Govier" wrote: Hi I would put D:\GLOBAL X RAY\[customer price level.XL]Sheet into a cell, e.g. E then =INDEX(INDIRECT("'"&E&ROW(A1)&"'!$A2:$C2"),3) Note the quotation marks =INDEX(INDIRECT(" ' " &E1&ROW(A1)& " ' !$A2:$C2"),3) This will evaluate to sheet 1 in the first instance, but as you copy down the page, ROW(A1) will become B1, C1 etc and give rise to Sheet2, Sheet3. -- Regards Roger Govier "klafert" wrote in message ... The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could use 16 formulas and change the sheet name in each formula.
But if you want to create a string that points at that other workbook, then the function you'd want to use is =indirect(). But =indirect() won't work if the sending workbook is closed. Laurent Longre has an addin (morefunc.xll) at: http://xcell05.free.fr/ That includes =indirect.ext() that may help you. klafert wrote: The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. -- Dave Peterson |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Well of course I don't want 16 formula. Also, my formula got changed and I
think I have to use Index and Match. Because I have to have that exact data from the cell I am requesting the data from. But I am going to check into this and I didn't know that I had to have both spreadsheet open that is not a problem. Hope you are around later. I am off to the hospital to see brother - CANCER!! Mary "Dave Peterson" wrote: You could use 16 formulas and change the sheet name in each formula. But if you want to create a string that points at that other workbook, then the function you'd want to use is =indirect(). But =indirect() won't work if the sending workbook is closed. Laurent Longer has an adding (morefunc.xll) at: http://xcell05.free.fr/ That includes =indirect.ext() that may help you. klafert wrote: The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. -- Dave Peterson |
#11
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Can I get your e-mail - I have a request and don't know if I would be
breaking any of the communites rules. You can also e-mail me at or call me at 504-888-7380. I wil wait a few minutes before I have to run off. "Dave Peterson" wrote: You could use 16 formulas and change the sheet name in each formula. But if you want to create a string that points at that other workbook, then the function you'd want to use is =indirect(). But =indirect() won't work if the sending workbook is closed. Laurent Longre has an addin (morefunc.xll) at: http://xcell05.free.fr/ That includes =indirect.ext() that may help you. klafert wrote: The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. -- Dave Peterson |
#12
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I hope your brother is doing better.
But if you don't want 16 separate folder and you don't want to open the sending workbook, you should try that addin from Laurent Longre (I mistyped his last name earlier. Sorry.) This isn't a problem with the index/match. It's a problem with excel's built in =indirect() function. It won't recalculate correctly if the sending workbook is closed--as you've seen. klafert wrote: Well of course I don't want 16 formula. Also, my formula got changed and I think I have to use Index and Match. Because I have to have that exact data from the cell I am requesting the data from. But I am going to check into this and I didn't know that I had to have both spreadsheet open that is not a problem. Hope you are around later. I am off to the hospital to see brother - CANCER!! Mary "Dave Peterson" wrote: You could use 16 formulas and change the sheet name in each formula. But if you want to create a string that points at that other workbook, then the function you'd want to use is =indirect(). But =indirect() won't work if the sending workbook is closed. Laurent Longer has an adding (morefunc.xll) at: http://xcell05.free.fr/ That includes =indirect.ext() that may help you. klafert wrote: The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. -- Dave Peterson -- Dave Peterson |
#13
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It's best to keep the conversation in the newsgroup. There'll be lots more
people who can help. As an aside, you may not want to share your email address or phone number in a public forum like this. klafert wrote: Can I get your e-mail - I have a request and don't know if I would be breaking any of the communites rules. You can also e-mail me at <<snipped I wil wait a few minutes before I have to run off. "Dave Peterson" wrote: You could use 16 formulas and change the sheet name in each formula. But if you want to create a string that points at that other workbook, then the function you'd want to use is =indirect(). But =indirect() won't work if the sending workbook is closed. Laurent Longre has an addin (morefunc.xll) at: http://xcell05.free.fr/ That includes =indirect.ext() that may help you. klafert wrote: The problem is not the formula I use except for I need to specific a range that includes using more than one worksheet tab. Here is the formula it works for one worksheet because I only specifics one worksheet. I just need to know how to encode the range of the other worksheet tabs. first worksheet is sheet1 and goes through sheet16 in the same work book. =INDEX('D:\GLOBAL X RAY\[customer price level4.xls]Sheet1'!$A2:$C2,3) How do I edit this formula to include the other worksheet. -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
My worksheet tabs can not be seen in my workbook. | Excel Discussion (Misc queries) | |||
How do I move the worksheet tabs to the top of the workbook? | Excel Discussion (Misc queries) | |||
Worksheet Tabs at bottom of Workbook | Excel Discussion (Misc queries) | |||
How can I create multiple rows of worksheet tabs in a workbook? | Excel Discussion (Misc queries) | |||
move the worksheet tabs in a workbook to left | Excel Discussion (Misc queries) |