Previous in Forum: Preparing Used Cooking Oil   Next in Forum: Solidworks Human Figure Model?
Close
Close
Close
5 comments
Rate Comments: Nested
Power-User

Join Date: May 2008
Posts: 306
Good Answers: 12

Excel Assistance Please

07/31/2009 1:23 AM

Hi. I need help in designing an excel spreadsheet. I'm not a uni student...I am trying to implement this at work. Here goes;

I have a list of 8 digit serial numbers in one column. In another column i have a list of assigned product names (which happen to be numbers). I need to assign a MAC address (in HEX format) to specific products that require them. The MAC address that is used should come from a list where the MAC addresses are listed numerically. In other words, we bought 2 blocks of MAC addresses from IEEE (that's a number of millions of MAC addresses) and there should never be a double-up.

Now I created such a file with relevant formulas so when i type in the next available serial number with a specific product, up pops a MAC address. If the product does not require a MAC address then it's blank. It works fine but the method is frought with danger. If someone decides to alter a previous entry or change the product name, all preceding assigned MAC addresses will change. It should not happen, but there is always that possibility currently.

I'm sure there is a better way to do this and am asking for your help. Any ideas?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Manufacturing Engineering - New Member Hobbies - Target Shooting - New Member United States - Member - New Member Hobbies - Hunting - New Member

Join Date: Dec 2006
Location: Charlotte, NC USA
Posts: 791
Good Answers: 17
#1

Re: Excell Assistance Please

07/31/2009 9:49 AM

Not knowing exactly what your mean my someone changing a product name, but you can lock the cells so they can't change them, you can password protect your cells from change as well.

Would that help?

__________________
Be careful of what you wish for .....
Register to Reply
Guru
Engineering Fields - Electromechanical Engineering - Technical Services Manager Canada - Member - Army brat Popular Science - Cosmology - What is Time and what is Energy? Technical Fields - Architecture - Draftsperson Hobbies - RC Aircraft - New Member

Join Date: Sep 2006
Location: Clive, Alberta, Canada
Posts: 5916
Good Answers: 204
#2

Re: Excel Assistance Please

08/01/2009 11:28 AM

Due to the implied criticality, I would recommend that you do not use excel. Use a programming language. (ie: vb) At the very least, write the function of it in VBA in excel. I believe there are ways of locking the sheet.. but you need to provide some screenshots of what you are trying to do.

Chris

Register to Reply Score 1 for Good Answer
Guru
Popular Science - Weaponology - bwire Hobbies - Car Customizing - New Member

Join Date: Dec 2007
Location: Upper Mid-west USA
Posts: 7498
Good Answers: 97
#3

Re: Excel Assistance Please

08/02/2009 3:42 PM
__________________
If death came with a warning there would be a whole lot less of it.
Register to Reply
Commentator

Join Date: Jun 2009
Location: Between India & Australia
Posts: 71
Good Answers: 3
#4

Re: Excel Assistance Please

08/02/2009 7:11 PM

Try this and you may find some useful tips in http://excel.tips.net/

__________________
Continuous Learning
Register to Reply Score 1 for Good Answer
Commentator

Join Date: May 2008
Location: St. Paul , MN
Posts: 79
Good Answers: 6
#5

Re: Excel Assistance Please

08/03/2009 8:54 AM

VBA in code behind would be the way to go. Rather than plugging a formula into a cell you can call a subroutine and insert a value into the spreadsheet. This would prevent recalculation when an edit was made on the sheet. Perhaps the formula could protect the cells from change.

Sub protect()
Range("A3:A12,D3:E12,J1:R13,W18")
Range("W18").Activate
Selection.Locked = True
ActiveSheet.protect Contents:=True
End Sub

Or something similar would do the trick.

Register to Reply Score 1 for Good Answer
Register to Reply 5 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

bwire (1); chrisg288 (1); Daddio926 (1); Labyguy (1); sv13 (1)

Previous in Forum: Preparing Used Cooking Oil   Next in Forum: Solidworks Human Figure Model?

Advertisement