Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Microsoft Office support MS Office support forum

Reply
 
LinkBack Thread Tools
Old 11-02-2009, 01:01 PM   #1 (permalink)
Registered User
 
Join Date: Nov 2009
Posts: 5
OS: xp


Excel Help - Date issues -only need first part

Firstly an apology if this is a numpty question but how do i get excel to display just the first part of the date, i.e 2 or 15 or 31, and not 2-nov-09 etc .

i have a table which repeats monthly and i am using lookup depending on todays date to bring me the appropriate entry/ result.

i have absolutely no idea how to do this - any ideas??

Last edited by philwalker531; 11-02-2009 at 01:18 PM. Reason: spellign error
philwalker531 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 11-02-2009, 01:24 PM   #2 (permalink)
Moderator/ Rangemaster TSF Academy; Analyst, Security Team; Oor Wullie; TSF Surgeon and Resident Comic
 
Glaswegian's Avatar
 
Join Date: Sep 2005
Location: Glasgow
Posts: 25,571
OS: Win XP Pro SP3 / Win 7 Pro

My System

Blog Entries: 10
Re: Excel Help - Date issues -only need first part

Hi and welcome.

Use Format > Cells > Custom Format and set it to 'DD'. Bear in mind that Excel will still see the true date - it's only the look of the value that you are changing.
__________________
Iain - Defender of the Haggis and all things Scottish.
I don't help by PM - post in the Forums.



PC Safety & Security::PC running a bit slow?::Donate::Photographers Corner
Glaswegian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-02-2009, 01:47 PM   #3 (permalink)
Registered User
 
Join Date: Nov 2009
Posts: 5
OS: xp


Re: Excel Help - Date issues -only need first part

Thanks, have just tried it and yes it does show the right format but for some reason it does not find it using the lookup ?

Here is the cell i am using to find the entry from the table depending on waht day it is =VLOOKUP($D$63,$D$67:$E$97,2) the D63 cell is the one i need for the date, excel still sees the info as 40119.86542 ??????????
philwalker531 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-02-2009, 02:24 PM   #4 (permalink)
Moderator/ Rangemaster TSF Academy; Analyst, Security Team; Oor Wullie; TSF Surgeon and Resident Comic
 
Glaswegian's Avatar
 
Join Date: Sep 2005
Location: Glasgow
Posts: 25,571
OS: Win XP Pro SP3 / Win 7 Pro

My System

Blog Entries: 10
Re: Excel Help - Date issues -only need first part

Hi

Excel sees dates simply as a number - this allows you to use dates in calculations etc. What is your lookup table based upon? If Excel is using D63 as a date, the lookup column also needs to include dates.
__________________
Iain - Defender of the Haggis and all things Scottish.
I don't help by PM - post in the Forums.



PC Safety & Security::PC running a bit slow?::Donate::Photographers Corner
Glaswegian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-02-2009, 03:01 PM   #5 (permalink)
Registered User
 
Join Date: Nov 2009
Posts: 5
OS: xp


Re: Excel Help - Date issues -only need first part

my table is a list of 1 through to 31 and the adjacent column has a name attached to each of the 'date' numbers The actual date is irrelevent i just need to ignore the rest of the date and just use the first number from it ie the date 1st 2nd 3rd etc.
philwalker531 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-02-2009, 03:18 PM   #6 (permalink)
Moderator/ Rangemaster TSF Academy; Analyst, Security Team; Oor Wullie; TSF Surgeon and Resident Comic
 
Glaswegian's Avatar
 
Join Date: Sep 2005
Location: Glasgow
Posts: 25,571
OS: Win XP Pro SP3 / Win 7 Pro

My System

Blog Entries: 10
Re: Excel Help - Date issues -only need first part

Hi again

There may be a better way to do this but this will work. You'll need to extract the first 2 digits using a formula - which means you'll need to use another cell as the lookup. In a cell beside your 2 digit date, use this formula

=LEFT(TEXT(H4,"DD"),2)


Remember to change the cell reference to suit.
__________________
Iain - Defender of the Haggis and all things Scottish.
I don't help by PM - post in the Forums.



PC Safety & Security::PC running a bit slow?::Donate::Photographers Corner
Glaswegian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-03-2009, 02:18 AM   #7 (permalink)
Registered User
 
Join Date: Nov 2009
Posts: 5
OS: xp


Re: Excel Help - Date issues -only need first part

I don't know how you know all this stuff but its spot on!!!! thanks for your efforts :)
philwalker531 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 07:14 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85