A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formula returning an error



 
 
Thread Tools Display Modes
  #1  
Old January 4th, 2010, 02:24 PM posted to microsoft.public.excel.worksheet.functions
Gotroots
external usenet poster
 
Posts: 78
Default Formula returning an error

Hi,

The following formula works as intended:

{=IF(COUNTIF($N$1:$N$1000,"?*")ROW(N2),"",INDEX(N $1:N$1000,SMALL(IF($N$1:$N$1000"",ROW($N$1:$N$10 00)),ROW(N2))))}

Now I want to insert it into another workbook so that the results are
displayed there also. Here I have modified the formula for this purpose:

{=[Flex_connection.xlsm]Names!O2,IF(COUNTIF($N$1:$N$1000,"?*")ROW(N2),"", INDEX(N$1:N$1000,SMALL(IF($N$1:$N$1000"",ROW($N$ 1:$N$1000)),ROW(N2))))}

This formula returns a #VALUE! error.

Anyone got any idea what I am doing wrong. Much appreciate any help given.


  #2  
Old January 4th, 2010, 03:19 PM posted to microsoft.public.excel.worksheet.functions
ryguy7272
external usenet poster
 
Posts: 1,593
Default Formula returning an error

Save your work, close the workbook, open it. What happens? When the formula
is in the new workbook, you shouldn't see things like this:
[Flex_connection.xlsm]Names!

That kind of thing means you are referencing another workbook outside of the
current workbook that you are working in. Make sense?

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"gotroots" wrote:

Hi,

The following formula works as intended:

{=IF(COUNTIF($N$1:$N$1000,"?*")ROW(N2),"",INDEX(N $1:N$1000,SMALL(IF($N$1:$N$1000"",ROW($N$1:$N$10 00)),ROW(N2))))}

Now I want to insert it into another workbook so that the results are
displayed there also. Here I have modified the formula for this purpose:

{=[Flex_connection.xlsm]Names!O2,IF(COUNTIF($N$1:$N$1000,"?*")ROW(N2),"", INDEX(N$1:N$1000,SMALL(IF($N$1:$N$1000"",ROW($N$ 1:$N$1000)),ROW(N2))))}

This formula returns a #VALUE! error.

Anyone got any idea what I am doing wrong. Much appreciate any help given.


  #3  
Old January 4th, 2010, 04:53 PM posted to microsoft.public.excel.worksheet.functions
Gotroots
external usenet poster
 
Posts: 78
Default Formula returning an error

Ryan,

Save your work, close the workbook, open it. What happens? When the formula
is in the new workbook, you shouldn't see things like this:
[Flex_connection.xlsm]Names!


I am not sure if you are correct about that, I have other formulas elsewhere
in the workbook which references a workbook outside of the workbook which
returns a result. The problem still exists after I do what you advise.

"ryguy7272" wrote:

Save your work, close the workbook, open it. What happens? When the formula
is in the new workbook, you shouldn't see things like this:
[Flex_connection.xlsm]Names!

That kind of thing means you are referencing another workbook outside of the
current workbook that you are working in. Make sense?

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"gotroots" wrote:

Hi,

The following formula works as intended:

{=IF(COUNTIF($N$1:$N$1000,"?*")ROW(N2),"",INDEX(N $1:N$1000,SMALL(IF($N$1:$N$1000"",ROW($N$1:$N$10 00)),ROW(N2))))}

Now I want to insert it into another workbook so that the results are
displayed there also. Here I have modified the formula for this purpose:

{=[Flex_connection.xlsm]Names!O2,IF(COUNTIF($N$1:$N$1000,"?*")ROW(N2),"", INDEX(N$1:N$1000,SMALL(IF($N$1:$N$1000"",ROW($N$ 1:$N$1000)),ROW(N2))))}

This formula returns a #VALUE! error.

Anyone got any idea what I am doing wrong. Much appreciate any help given.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.