Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I will be posting many questions as I just got a temp job from friend automating a complex Excel report, that is now done manually, and that relies on several other Excel reports to populate it's data. Each report is a seperate Workbook. I know very little about Excel, beyond the absolute basics. I got the job as a favor, and because my friend has confidence that I can figure it out (which I am doing on my own time). My first problem is this. One requirement is that when the main report is run that it grabs the date automatically from each sub-report and inserts into the proper section. The date field is only one cell in each report, and only needs to populate one cell in the correct section on the final report. I have tried variations on MATCH, LOOKUP, VLOOKUP, HLOOKUP and even tried the LOOKUP wizard addin (which was no help). I always get the same result... #N/A. I have looked at all the Excel help files that seemed relevent, and combed the web (including here) trying to find the answer. Part of the problem is my complete lack of experience with Excel, and because of that, I'm not sure that I understand some of what I've read. I may have found the answer and not understood it. I have had no problem (so far) using VLOOKUP to grab the column values I need from the various reports. I don't understand why I can't, or how I go about grabing a single value from a single cell!? --- Message posted from http://www.ExcelForum.com/ |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
to get cell A1 found in Sheet1 of a workbook named Report5.xls
=[Report5.xls]Sheet1!$A$1 if the workbook is open =c:\MyReports\[Report5.xls]Sheet1!$A$1 if the workbook report5.xls is not open if worksheets are in the same workbook =Sheet1!$A$1 if in the same sheet =$A$1 == Regards, Tom Ogilvy ExcelNovice wrote in message ... Hi all, I will be posting many questions as I just got a temp job from friend automating a complex Excel report, that is now done manually, and that relies on several other Excel reports to populate it's data. Each report is a seperate Workbook. I know very little about Excel, beyond the absolute basics. I got the job as a favor, and because my friend has confidence that I can figure it out (which I am doing on my own time). My first problem is this. One requirement is that when the main report is run that it grabs the date automatically from each sub-report and inserts into the proper section. The date field is only one cell in each report, and only needs to populate one cell in the correct section on the final report. I have tried variations on MATCH, LOOKUP, VLOOKUP, HLOOKUP and even tried the LOOKUP wizard addin (which was no help). I always get the same result... #N/A. I have looked at all the Excel help files that seemed relevent, and combed the web (including here) trying to find the answer. Part of the problem is my complete lack of experience with Excel, and because of that, I'm not sure that I understand some of what I've read. I may have found the answer and not understood it. I have had no problem (so far) using VLOOKUP to grab the column values I need from the various reports. I don't understand why I can't, or how I go about grabing a single value from a single cell!? --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom,
That was almost the answer, but close enough that I figured it out. You only neglected to include single quotes around the file name and path. Thanks again for the help... as the govenor of California would say, "I'll be back" ;^) --- Message posted from http://www.ExcelForum.com/ |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For anyone else as clueless as myself having a similar problem, th
single qoutes should also include the sheet name thus: ='C:\reports\[report5.xls]Sheet1'!$C$1 Cheers, and thanks again for the fast help -- Message posted from http://www.ExcelForum.com |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You don't need single quotes in the example I gave - only if the the string
has spaces in it. But I should have mentioned it. -- Regards, Tom Ogilvy ExcelNovice wrote in message ... Thanks Tom, That was almost the answer, but close enough that I figured it out. You only neglected to include single quotes around the file name and path. Thanks again for the help... as the govenor of California would say, "I'll be back" ;^) --- Message posted from http://www.ExcelForum.com/ |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I just tried again and Excel pops up an error window when I try it
without the quotes, and the file and path have no spaces. I am using Excel 2000 here, but Excel 2003 at the job. I'll test it in 2003 tomorrow just to see. All that matters to me though is that you helped me fix the problem. Thanks again! --- Message posted from http://www.ExcelForum.com/ |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I was just playing around and found this to be true. When the cell is i
another sheet in the same workbook, it does not need the quotes i there are no spaces in the sheet name, and does if there are spaces. A least in Excel 2000 -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Simple problem, simple formula, no FUNCTION ! | Excel Worksheet Functions | |||
Simple lookup problem... | Excel Worksheet Functions | |||
Can anyone help with a Simple Lookup please? | Excel Discussion (Misc queries) | |||
Simple lookup - or maybe not so simple - help! | Excel Worksheet Functions | |||
Simple lookup | Excel Worksheet Functions |