+ Reply to Thread
Results 1 to 8 of 8

Places assigned to Seconds + Selecting Special Rows

  1. #1
    Registered User
    Join Date
    07-22-2016
    Location
    Cordova
    MS-Off Ver
    2007
    Posts
    44

    Places assigned to Seconds + Selecting Special Rows

    Hi Guys ,
    I have 2 Question
    First ::
    I want to modify the places assigned to "seconds" from hundredths to tenths as in image illustrated below
    https://s22.postimg.org/vj1lgt1td/image.png

    ...

    Seconed ::
    I have a table consist of four column , the last column have numbers , its value flactuate between negative & positive number also some cells contain zero
    I want to extract the all Rows With ONLY NEGATIVE Number
    Example
    https://s14.postimg.org/negnxkgjl/image.png

    So , is there a quick trick for doing this ?
    Thanks

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: Places assigned to Seconds + Selecting Special Rows

    Hi and welcome to the forum

    Pictures are of little value. Honestly, no one wants to re-type your data to try and solve your issue. Additionally, we would only be guessing at how your data was structured, ie. formulas, formatting, etc. Additionally, due to how some browsers behave, many of our members cannot see uploaded pictures/images. Please do not take this route.

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" of what you wish the output to be.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    07-22-2016
    Location
    Cordova
    MS-Off Ver
    2007
    Posts
    44

    Re: Places assigned to Seconds + Selecting Special Rows

    That a sample from my table
    all what i want is to calculate the difference in Time between Column B & D
    Also i want to calculate the difference in Value between Column C & E
    Then separate all row which contain negative value in column G
    I think it is not too difficult , but really i am not expert in such issues
    I appreciate your help to find an answer for my question
    Kind regards
    Attached Files Attached Files
    Last edited by Sasha 99; 05-20-2017 at 04:49 PM.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,501

    Re: Places assigned to Seconds + Selecting Special Rows

    Maybe, as a starter, try something like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Registered User
    Join Date
    07-22-2016
    Location
    Cordova
    MS-Off Ver
    2007
    Posts
    44

    Re: Places assigned to Seconds + Selecting Special Rows

    Thank you very very very much
    however the result is not as expected , i make a copy for this formula and the result for 3rd raw was this
    -0.430555556

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,501

    Re: Places assigned to Seconds + Selecting Special Rows

    You're welcome. Thanks for the rep.

    The "time" in cell B3 is some 10 hours and 20 minutes earlier than the "time" in cell D3. So, if you subtract D3 from B3 you will get a negative value. The numeric time value for 10:20:00 is 0.430555555555556. And, in this case, it will have minus sign. You could use ABS and format the positive result as Time.

  7. #7
    Registered User
    Join Date
    07-22-2016
    Location
    Cordova
    MS-Off Ver
    2007
    Posts
    44

    Re: Places assigned to Seconds + Selecting Special Rows

    Thanks TMS , I got it now

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,501

    Re: Places assigned to Seconds + Selecting Special Rows

    You're welcome.

+ 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. selecting more then one cell that has special Interior.ColorIndex
    By alsh3lan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-20-2014, 08:22 AM
  2. [SOLVED] Macro for Selecting and Modifying Special data in Graph
    By Haidar123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2014, 03:09 PM
  3. need VBA code to identify the special numbers and assigned them a dsired value
    By Vikas_k in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 11-16-2012, 08:34 AM
  4. Replies: 4
    Last Post: 01-18-2010, 04:29 AM
  5. Set Assigned Rows
    By nms2130 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-02-2008, 11:03 AM
  6. Paste Special+decimal Places
    By stevesunfold in forum Excel General
    Replies: 2
    Last Post: 05-18-2008, 05:15 AM
  7. saving to two places by selecting one (VBA)
    By tim64 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-17-2005, 06:41 PM

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