Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel 2007 named ranges - how to use as function parameter?

Specific case: back in Excel 2003 days, I could have column A = a few decimal
numbers. I named column A "Counter". In column B I could enter the formula
=dec2bin(Counter,6) and each cell gave me the binary representation of the
corresponding cell in column A, just as expected.
The same exact thing in Excel 2007results in a #VALUE! error. I expected
Excel 2007 to do everything that Excel 2003 could.
Why does this happen and how do I fix it?

Regards
GS
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default Excel 2007 named ranges - how to use as function parameter?

you say-

back in Excel 2003 days, I could have column A = a few decimal numbers. I
named column A "Counter". In column B I could enter the formula
=dec2bin(Counter,6) and each cell gave me the binary

I try with dec2bin in excel 2003 and it not work. give #Num! error. work
okay with built in function like Round.

"Gershon" wrote in message
...
| Specific case: back in Excel 2003 days, I could have column A = a few
decimal
| numbers. I named column A "Counter". In column B I could enter the formula
| =dec2bin(Counter,6) and each cell gave me the binary representation of the
| corresponding cell in column A, just as expected.
| The same exact thing in Excel 2007results in a #VALUE! error. I expected
| Excel 2007 to do everything that Excel 2003 could.
| Why does this happen and how do I fix it?
|
| Regards
| GS

  #3   Report Post  
Posted to microsoft.public.excel.misc
Reg Reg is offline
external usenet poster
 
Posts: 48
Default Excel 2007 named ranges - how to use as function parameter?

well the function exists in 2007 so here some things to check

the following excerpt for limits on numbers

If number < -512 or if number 511, DEC2BIN returns the #NUM! error value.
If number is nonnumeric, DEC2BIN returns the #VALUE! error value.
If DEC2BIN requires more than places characters, it returns the #NUM! error
value.
If places is not an integer, it is truncated.
If places is nonnumeric, DEC2BIN returns the #VALUE! error value.
If places is negative, DEC2BIN returns the #NUM! error value.


also the wording in your questions is a little odd - putting Counter as a
header doesnt 'name' the range unless you are using a table and trying to use
=dec2bin(Counter,6) when the range contains more than one number would error
unless its entered as an array formula.

hth

RegMigrant

"Gershon" wrote:

Specific case: back in Excel 2003 days, I could have column A = a few decimal
numbers. I named column A "Counter". In column B I could enter the formula
=dec2bin(Counter,6) and each cell gave me the binary representation of the
corresponding cell in column A, just as expected.
The same exact thing in Excel 2007results in a #VALUE! error. I expected
Excel 2007 to do everything that Excel 2003 could.
Why does this happen and how do I fix it?

Regards
GS

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excel 2007 named ranges - how to use as function parameter?

Do you have the Analysis Toolpak add-in loaded?

Your #NUM! error may actually be #NAME!


Gord Dibben MS Excel MVP

On Wed, 12 May 2010 09:12:20 -0400, "Homey" <none wrote:

you say-

back in Excel 2003 days, I could have column A = a few decimal numbers. I
named column A "Counter". In column B I could enter the formula
=dec2bin(Counter,6) and each cell gave me the binary

I try with dec2bin in excel 2003 and it not work. give #Num! error. work
okay with built in function like Round.

"Gershon" wrote in message
...
| Specific case: back in Excel 2003 days, I could have column A = a few
decimal
| numbers. I named column A "Counter". In column B I could enter the formula
| =dec2bin(Counter,6) and each cell gave me the binary representation of the
| corresponding cell in column A, just as expected.
| The same exact thing in Excel 2007results in a #VALUE! error. I expected
| Excel 2007 to do everything that Excel 2003 could.
| Why does this happen and how do I fix it?
|
| Regards
| GS


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
Excel 2007 Named Ranges Barb Reinhardt Excel Discussion (Misc queries) 0 September 22nd 08 08:01 PM
How do I set up a Dynamic Named Ranges in Excel 2007 Aussie Bob C Excel Discussion (Misc queries) 7 August 16th 08 07:22 PM
Named Ranges Disappearing in Excel 2007 Mike H. Excel Discussion (Misc queries) 6 April 29th 08 05:36 PM
Named ranges in Excel 2007 [email protected] Excel Discussion (Misc queries) 2 September 10th 07 08:22 PM
Excel 2007 Beta-Named Ranges reno Excel Discussion (Misc queries) 4 June 26th 06 09:33 PM


All times are GMT +1. The time now is 11:45 AM.

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

About Us

"It's about Microsoft Excel"