Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Edmund
 
Posts: n/a
Default Formula via Define Name (not working)

I always define name for my formulas. They all worked well except this time.

As usual, using the menu bar (Insert | Name | Define), I gave the below
formula a name called TEST in the €śNames in workbook:€ť inputbox within the
Define Name dialog box.

Refers To:
=IF(INDIRECT("C"&ROW())=0.65,"A",IF(INDIRECT("C"& ROW())<0.12,"C","B"))


Just like all other named formula, I would enter in a cell of its workbook
by preceeding the name with an equal sign =TEST. However, I get it returning
#VALUE! this time.

Whats wrong?

--
Edmund
(Using Excel XP)
  #2   Report Post  
Posted to microsoft.public.excel.misc
Edmund
 
Posts: n/a
Default Formula via Define Name (not working)

I think I knew why the earlier method did not suceed as I had left out the
sheet reference. Sheet3 is where I use the named formula.

But even when I rectify the named formula by adding in the text "Sheet3!"
within the formula, still it returned #VALUE!
=IF(INDIRECT("Sheet3!C"&ROW())=0.65,"A",IF(INDIRE CT("Sheet3!C"&ROW())<0.12,"C","B"))

I just don't understand what I'd done wrong.


--
Edmund
(Using Excel XP)


"Edmund" wrote:

I always define name for my formulas. They all worked well except this time.

As usual, using the menu bar (Insert | Name | Define), I gave the below
formula a name called TEST in the €śNames in workbook:€ť inputbox within the
Define Name dialog box.

Refers To:
=IF(INDIRECT("C"&ROW())=0.65,"A",IF(INDIRECT("C"& ROW())<0.12,"C","B"))


Just like all other named formula, I would enter in a cell of its workbook
by preceeding the name with an equal sign =TEST. However, I get it returning
#VALUE! this time.

Whats wrong?

--
Edmund
(Using Excel XP)

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bryan Hessey
 
Posts: n/a
Default Formula via Define Name (not working)


It appears to work whether nameg Test or any other name. Have you tried
cllosing all other workbooks to test? Do you have a Sheet3? Does C(Row)
have a valid value? Have you copied the formula from here back to your
worksheet and tried with another name?

--

Edmund Wrote:
I think I knew why the earlier method did not suceed as I had left out
the
sheet reference. Sheet3 is where I use the named formula.

But even when I rectify the named formula by adding in the text
"Sheet3!"
within the formula, still it returned #VALUE!
=IF(INDIRECT("Sheet3!C"&ROW())=0.65,"A",IF(INDIRE CT("Sheet3!C"&ROW())<0.12,"C","B"))

I just don't understand what I'd done wrong.


--
Edmund
(Using Excel XP)


"Edmund" wrote:

I always define name for my formulas. They all worked well except

this time.

As usual, using the menu bar (Insert | Name | Define), I gave the

below
formula a name called TEST in the €śNames in workbook:€ť inputbox

within the
Define Name dialog box.

Refers To:

=IF(INDIRECT("C"&ROW())=0.65,"A",IF(INDIRECT("C"& ROW())<0.12,"C","B"))


Just like all other named formula, I would enter in a cell of its

workbook
by preceeding the name with an equal sign =TEST. However, I get it

returning
#VALUE! this time.

Whats wrong?

--
Edmund
(Using Excel XP)



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=542048

  #4   Report Post  
Posted to microsoft.public.excel.misc
Edmund
 
Posts: n/a
Default Formula via Define Name (not working)

Shee3 do exist. Infact colum C in Sheet3 holds the standard cost. Column C is
formatted General (absolutely without any currency nor decimal formatting).
This I'm very sure. Sheet3 also contains 5000 unique part numbers all in Col
A while Col B holds its description. Nevertheless the named formula does not
refer to any other columns in Sheet3 but Column C only.

I just can't understand what is wrong. Absolutely identical formula used but
....... one returning #VALUE! when being defined a name, while the other
returns a perfect answer when entered directly into any cell from Col D
onwards.

There's absolutely no macro in the workbook. Closing all other workbooks,
made no difference either.

I just can't understand what is wrong.

--
Edmund
(Using Excel XP)


"Bryan Hessey" wrote:


It appears to work whether nameg Test or any other name. Have you tried
cllosing all other workbooks to test? Do you have a Sheet3? Does C(Row)
have a valid value? Have you copied the formula from here back to your
worksheet and tried with another name?

--

Edmund Wrote:
I think I knew why the earlier method did not suceed as I had left out
the
sheet reference. Sheet3 is where I use the named formula.

But even when I rectify the named formula by adding in the text
"Sheet3!"
within the formula, still it returned #VALUE!
=IF(INDIRECT("Sheet3!C"&ROW())=0.65,"A",IF(INDIRE CT("Sheet3!C"&ROW())<0.12,"C","B"))

I just don't understand what I'd done wrong.


--
Edmund
(Using Excel XP)


"Edmund" wrote:

I always define name for my formulas. They all worked well except

this time.

As usual, using the menu bar (Insert | Name | Define), I gave the

below
formula a name called TEST in the €œNames in workbook:€ inputbox

within the
Define Name dialog box.

Refers To:

=IF(INDIRECT("C"&ROW())=0.65,"A",IF(INDIRECT("C"& ROW())<0.12,"C","B"))


Just like all other named formula, I would enter in a cell of its

workbook
by preceeding the name with an equal sign =TEST. However, I get it

returning
#VALUE! this time.

What€„˘s wrong?

--
Edmund
(Using Excel XP)



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=542048


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working Hours (formula & graph) - any elegant solution? markx Excel Worksheet Functions 1 March 29th 06 03:02 PM
VLOOKUP & Dates: Why is this Formula working? Ali Excel Worksheet Functions 1 January 18th 06 02:37 PM
Can I concatenate text in cells to make a working formula? Matt S. R. Excel Discussion (Misc queries) 11 November 11th 05 04:44 PM
Sum formula not working Jeff Lowenstein Excel Worksheet Functions 1 August 1st 05 09:35 PM
Creat a formula to calculate working hrs according to number of da Bren Excel Worksheet Functions 2 August 1st 05 01:57 PM


All times are GMT +1. The time now is 01:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"