MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Apr 5th, 2002, 09:50 PM   #1
HAWK
New Member
 
Join Date: Mar 2002
Location: LIZ
Posts: 19
Default

I WOULD LIKE TO ENTER THE NUMBER
008 AND IT TO DISPLAY AS 008. THIS IS USED
FOR ENTRY RELATED TO VLOOKUP. PREFER NOT TO FORMAT AS TEXT

ANY IDEAS?
HAWK is offline   Reply With Quote
Old Apr 5th, 2002, 09:53 PM   #2
jbyrne
Board Regular
 
Join Date: Feb 2002
Posts: 165
Default

CUSTOM FORMAT CELL USING 000?
jbyrne is offline   Reply With Quote
Old Apr 5th, 2002, 10:05 PM   #3
Anne Troy
MrExcel MVP
 
Anne Troy's Avatar
 
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,510
Default

You cannot have leading zeroes without formatting as text. BOTH columns must be formatted the same: the column that contains the value you're looking for and the column in which the value should be found.
__________________
~Anne Troy
Anne Troy is offline   Reply With Quote
Old Apr 6th, 2002, 05:11 AM   #4
Chris Davison
MrExcel MVP
 
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
Default

Custom format as 000 will display 008. Checking the cell with =ISNUMBER returns "true", and referencing to a VLOOKUP where the first column contains general format "8" or custom format "008" both return "true", so it should work unless your column in your VLOOKUP range is a text "8"


__________________
:: Pharma Z - Family drugstore ::
Chris Davison is offline   Reply With Quote
Old Apr 6th, 2002, 09:03 AM   #5
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,064
Default

Hi

Chris can you you not force excel to have lead zero or zeros and stil add them up (ie they are numbers???? )

ermm

If the addition fails or as you test with built in function isnumber thisis not the same... im preplexed!

as you know Chris my ID works telephone number is a bit odd ill use differn line that when you dial will say no such number.... good eh!

But i conver our database and this is loaded into the computer for DD dailas and speed dials so the 9 need to be removed and the computer is not set to do this i click 9 and dial to outside so i need 0 for ever call via the computer...

Preplexed....


__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK is offline   Reply With Quote
Old Apr 6th, 2002, 10:47 AM   #6
Chris Davison
MrExcel MVP
 
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
Default

yes, I think so, unless I'm missing something

that was what I was saying - you can custom format them as 000 so they appear as 008 and 007 etc etc... add them up as normal and they add to 15

checking any of them with =ISNUMBER returns "TRUE" which means they are numbers, not text

Chris Davison is offline   Reply With Quote
Old Apr 6th, 2002, 12:11 PM   #7
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,064
Default

Cheers Chris i see post saying yes or no and think eh!

Thats not right, and question myself, sure we all do from time to time..

Thats why i post so very few answers, i post what im confidant with and know works as i do ever day, maybe i should post more ..


ermmm .. im might....

Like i say chris Excel can do anythink, im sure just knowing how!


__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK is offline   Reply With Quote
Old Apr 6th, 2002, 01:06 PM   #8
Chris Davison
MrExcel MVP
 
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
Default

Jack,

an interesting point

I often maintain that Excel *can* do anything, literally. You just need to know how to get it to do it.

A spreadsheet that displays Michael Schumacher's photo and plays the Italian national anthem depending on what's in the cell....... who'd have thought ?!?!

You good thing about Excel is it's boolean logic. There is either a right answer or a wrong answer, no inbetweens.

Take sociology though and deprived inner-city kids : no black and white answers, it's all subjective, opinions and grey areas.

Not with maths. it either adds up or it doesn't.

This is where your confidence comes in. Maths doesn't lie to you

Post more, I suspect a lot of people already consider you an MVP in your area of expertise. I know I do.
Chris Davison is offline   Reply With Quote
Old Apr 6th, 2002, 02:10 PM   #9
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,064
Default

Chris

warm comments a big thanks and like wise.

im a simple south london boys, druk up in londons street, simple simplistic veiws, no black no white, you tell me if you see a different face, i do when you point it out ,, to me your simple alright or not no inbetween.

Mixing with the guys i have readers all over the world reading this will know these guys names, i am proud im a good un trusted and signed pictures hang on my walls and our photo stits on mt work deak

ive nothing to prove just try to help... that simple,, ill do what i can.
__________________
Free Excel based Web Toolbar available here.

Jack in the UK
J & R Excel Solutions
"making Excel work for you"
Jack in the UK is offline   Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:57 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes