![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| 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: * 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 |
|
|||||||
| Microsoft Office support MS Office support forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#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 |
|
|
|
| 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 |
|
|
#2 (permalink) |
|
Moderator/ Rangemaster TSF Academy; Analyst, Security Team; Oor Wullie; TSF Surgeon and Resident Comic
|
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 |
|
|
|
|
|
#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 ?????????? |
|
|
|
|
|
#4 (permalink) |
|
Moderator/ Rangemaster TSF Academy; Analyst, Security Team; Oor Wullie; TSF Surgeon and Resident Comic
|
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 |
|
|
|
|
|
#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.
|
|
|
|
|
|
#6 (permalink) |
|
Moderator/ Rangemaster TSF Academy; Analyst, Security Team; Oor Wullie; TSF Surgeon and Resident Comic
|
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 |
|
|
|
![]() |
| Thread Tools | |
|
|