![]() |
| |||||||
| Sponsored Links |
![]() | « Previous Thread | Next Thread » |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| ||||
| ||||
| Okay, I am not sure if this is already a built-in function in Excel, but I have not yet found it. What I need to do, is build a function, so one worksheet can reference another worksheets cell/range dynamically. Basically, say I have a worksheet named Summary. In this worksheet, it summarizes a list of part numbers. So, in column A, it will list part numbers. These part numbers each have their own individual worksheet, which is named the same as the part number. How do I create a function to reference the name of the other worksheet from the part number in the Summary tab. For instance, if I want to reference the worksheet for part number 123456789, and cell B25, how would I build this function. The code in excel to reference such worksheet from another is: Code: ='123456789'!B25
__________________ "You'll never be as perfect as BLaaaaaaaaarche." |
| Sponsored Links |
|
#2
| ||||
| ||||
| have a look at the INDIRECT function. something like this: Code: =INDIRECT(A1& "!B3") B3 being the cell that contains the value.
__________________ Quote of the Month: Regret: It hurts to admit when you make mistakes - but when they're big enough, the pain only lasts a second. Questions to Ponder: Could it be that all those trick-or-treaters wearing sheets aren’t going as ghosts but as mattresses? iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright © 2008 sbenj69 |
| The Following 2 Users Say Thank You to mehere For This Useful Post: | ||
BLaaaaaaaaaarche (June 18th, 2008), Rebelle (June 19th, 2008) | ||
|
#3
| ||||
| ||||
| Yep, that with a combination of ADDRESS() worked perfectly. Thanks, mehere. |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VBScript Functions Reference | jmurrayhead | ASP Development | 25 | October 21st, 2008 08:31 AM |
| dynamically created dropdowns insert to sql | peebman2000 | .Net Development | 14 | May 19th, 2008 11:00 AM |
| update gridview dynamically | peebman2000 | .Net Development | 27 | May 8th, 2008 10:03 PM |