+ Reply to Thread
Results 1 to 2 of 2

Dates showing up as numbers when using =IF formula. Need Formula for multiple data

  1. #1
    Registered User
    Join Date
    04-19-2015
    Posts
    7

    Dates showing up as numbers when using =IF formula. Need Formula for multiple data

    Attached is the workbook I am working on.

    IF go to any of the G1-G6 Worksheets the dates show up as regular numbers when on the original (Unit worksheet) they are dates

    I have formatted them as dates and it still does nothing. If the dates are working I have conditional formatting set on the G2 and the Master that should let me know if certain things are in Column J or if certain dates are in Column G



    Also on the Master worksheet I am looking at column J

    I would like that column to look into all of the G worksheets and see if they match the values in Column A and if they do then I want the G worksheets Column J to be copied to the Masters Column J.... Kind of like what is in the G1 worksheet on any of the cells between A5 and J500 only multiple worksheets.


    On the STATS worksheet if you have any suggestions on how to simplify my formulas to do the exact same thing they are doing that would be awesome.




    In fact if you have ANY suggestions on how to make this a much smoother workbook I would be willing to learn and try it....Work book.xlsx
    Last edited by Pylican; 04-20-2015 at 08:01 AM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Dates showing up as numbers when using =IF formula. Need Formula for multiple data

    you are concatenating alot of cells together
    =IF(UNIT!E459="WPER",UNIT!I459,"")&IF(UNIT!E459="WINS",UNIT!I459,"")&IF(UNIT!E459="OPS0",UNIT!I459,"")&IF(UNIT!E459="WADJ",UNIT!I459,"")&IF(UNIT!E459="CPLN",UNIT!I459,"")

    And they are all using Unit!I459

    so that becomes a text rather than a number

    so you could add
    =VALUE( )
    to the formula

    =VALUE(IF(UNIT!E459="WPER",UNIT!I459,"")&IF(UNIT!E459="WINS",UNIT!I459,"")&IF(UNIT!E459="OPS0",UNIT!I459,"")&IF(UNIT!E459="WADJ",UNIT!I459,"")&IF(UNIT!E459="CPLN",UNIT!I459,""))
    to change the text back to a NUMBER

    OR

    =IF(OR(UNIT!E459="WPER",UNIT!E459="WINS", UNIT!E459="OPS0", UNIT!E459="WADJ", UNIT!E459="CPLN"), UNIT!I459, "")

    And probably simplify with using an Array
    OR(UNIT!E459= {"WPER","WINS","OPS0","WADJ",CPLN"}) - but cannot remember the exact syntax - so i will look up or another member will help
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula for showing dates for next service due vehicle
    By Noorking in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2014, 01:06 AM
  2. Formula to get SUM of multiple rows showing in only one row
    By ttreacy29 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-18-2014, 11:05 AM
  3. [SOLVED] Multiplication in formula =*-.06 is showing too many numbers in formula bar
    By Lowerysgirl in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-19-2013, 12:23 AM
  4. [SOLVED] Need Help with formula showing Expiring Dates And targets that are met
    By al3xwhit3 in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 01-18-2013, 06:41 AM
  5. formula for showing cell data from multiple external workbooks
    By sandy.beach in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-05-2009, 08:13 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1