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


#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
390 posts

Ultimate Geek

Subscriber

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

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

390 posts

Ultimate Geek

Subscriber

  #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

11178 posts

Uber Geek

Lifetime subscriber

  #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


  #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

11178 posts

Uber Geek

Lifetime subscriber

  #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.

4563 posts

Uber Geek

Trusted
Subscriber

  #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 and LinkedIn »



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 »

New online learning platform for kids stuck at home during COVID-19 lockdown
Posted 26-Mar-2020 21:35


New 5G Nokia smartphone unveiled as portfolio expands
Posted 26-Mar-2020 17:11


D-Link ANZ launches wireless AC1200 4G LTE router
Posted 26-Mar-2020 16:32


Ring introduces two new video doorbells and new pre-roll technology
Posted 17-Mar-2020 16:59


OPPO uncovers flagship Find X2 Pro smartphone
Posted 17-Mar-2020 16:54


D-Link COVR-2202 mesh Wi-Fi system now protected by McAfee
Posted 17-Mar-2020 16:00


Spark Sport opens its platform up to all New Zealanders at no charge
Posted 17-Mar-2020 10:04


Spark launches 5G Starter Fund
Posted 8-Mar-2020 19:19


TRENDnet launches high-performance WiFi Mesh Router System
Posted 5-Mar-2020 08:48


Sony boosts full-frame lens line-up with introduction of FE 20mm F1.8 G large-aperture ultra-wide-angle prime Lens
Posted 5-Mar-2020 08:44


Vector and Spark teamed up on smart metering initiative
Posted 5-Mar-2020 08:42


Schneider Electric launches new PDL Pro Series designed specifically for the commercial building market
Posted 5-Mar-2020 08:39


Kiwi app Pedigree DentaStix Studios uses pet images to counter impact of negative social media Content
Posted 5-Mar-2020 08:32


Samsung expands to New Zealand in 5G Networks Deal with Spark
Posted 5-Mar-2020 08:17


New Vodafone mobile data plans with unlimited data
Posted 26-Feb-2020 06:55



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.