Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


453 posts

Ultimate Geek
+1 received by user: 27


Topic # 113250 10-Jan-2013 19:05
Send private message

Hi guys

I've got an excel workbook that I essentially need is something that will look across multiple worksheets within the workbook and report a value that is a particular cell.

So, if in Sheet1, cell B4 is ABC123, it will search all other worksheets finding this number (call this "SheetX" that it finds), and then in B3 in "Sheet1", enter the figure from "SheetX" that is in T2.

Is there a solution for this? I've tried searching but couldn't find anything that I could use to make work. Or am I on drugs trying to do this?? Foot in Mouth

Create new topic
360 posts

Ultimate Geek
+1 received by user: 20

Subscriber

  Reply # 743015 10-Jan-2013 19:31
Send private message

I have found this website useful for getting answers to spreadsheet problems.

360 posts

Ultimate Geek
+1 received by user: 20

Subscriber

  Reply # 743016 10-Jan-2013 19:33
Send private message

doh, might help to post the web address
http://www.mrexcel.com/forum/forum.php

gzt

9928 posts

Uber Geek
+1 received by user: 1493


  Reply # 743027 10-Jan-2013 20:23
Send private message

If you have a solution that works on the same worksheet or for a specific different worksheet then you are halfway there. If not then start here.

From there you will need to use vb to loop through the worksheets collection until you find a match.

Edit: Well maybe you can refer to the whole collection in the formula instead of looping through and referencing each specific sheet in the collection but I doubt it.



453 posts

Ultimate Geek
+1 received by user: 27


  Reply # 743029 10-Jan-2013 20:32
Send private message

gzt: If you have a solution that works on the same worksheet or for a specific different worksheet then you are halfway there. If not then start here.

From there you will need to use vb to loop through the worksheets collection until you find a match.

Edit: Well maybe you can refer to the whole collection in the formula instead of looping through and referencing each specific sheet in the collection but I doubt it.


Quite comfortable using lookups to find data within a specific sheet, its getting excel to find the right sheet first of all that I'm having trouble with. Kinda figured I'd have to use VB to do it, just don't know how.

gzt

9928 posts

Uber Geek
+1 received by user: 1493


  Reply # 743030 10-Jan-2013 20:50
Send private message

Here's the basic syntax for the collection referencing and loop:

http://support.microsoft.com/kb/213621

It's from excel2k but I assume it still works the same.

3961 posts

Uber Geek
+1 received by user: 673

Trusted
Subscriber

  Reply # 743032 10-Jan-2013 20:56
Send private message

To clarify are you wanting to search all cells in the target worksheets? Or just a range of cells?

You might want to give a bit more context around the objective of the spreadsheet and what the individual worksheets represent in case there are structural changes or alternative approaches that might make this easier. 

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.