![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 4
|
I am having trouble creating spreadsheet with hex numbers by draging the handle.
I can convert the numbers using the dec2hex fourmula but can't use the drag to extend the series. Thanks for your help |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Have you tried to copy and paste?
Tom |
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Posts: 4
|
No I didn't, would I copy and paste the whole series?
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Yes.
A copy and paste for a formula should yield the results you are looking for. Eventhough, the fill handle grab-drag should work. I don't know why it is not... Maybe paste a sample of your problem and I'll try it out myself... Tom |
|
|
|
|
|
#5 |
|
New Member
Join Date: May 2002
Posts: 4
|
1
2 3 4 5 6 7 8 9 A B C D E F #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! A B C D |
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Why not just drag the Dec numbers THEN
convert to hex after, or have I missed something ?? |
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Ivan:
That's simple, straightforward, and practical approach!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
|
#8 |
|
New Member
Join Date: May 2002
Posts: 4
|
Thanks for the help, but I am new to excel and not sure how to do it. I tried to copy and paste the formula from 1 to F in hex and it just repeated the formula and not count up.
|
|
|
|
|
|
#9 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
1. Create a series starting from cell A1, to say A32 -- you could start the series with 1 in cell A1 in column, and use a step value of 1 with an ending value of 32 -- now this series is in decimal numbers 2. clivk in cell B1 and write the following formula to convert the decimal number in cell A1 to a hexadecimal number in B1 =DEC2HEX(A1) and copy ythis ato all cells from B2:b32 now all the cells in B1:B32 are in hexadecimal notation. This way you have created a series of numbers in hexadecimal indirectly. Hope This Helps!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
|
|
#10 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
1. Enter '1 into cell A1
2. Enter the formula, =DEC2HEX(HEX2DEC(A1)+1), into A2 and fill down as far as needed. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|