+ Reply to Thread
Results 1 to 7 of 7

Splitting cell values

  1. #1
    Registered User
    Join Date
    04-23-2013
    Location
    Shrewsbury, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Splitting cell values

    Greetings, looking for help to split a cell value. I want to be able to separate value to use lower down the sheet. I arrive at the value using:

    = Frequencies!E6&"/"&FrequenciesF6

    This give me a cell value of:
    3/90

    I want to be able to access the separate values, in this case 3 and 90 for use in a conditional format lower down.

    Thanks in advance.
    H

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Splitting cell values

    The two options in this workbook, dragged across, will give you what you are asking for any length of numbers, but why?

    What are you ultimately trying to do?
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    04-23-2013
    Location
    Shrewsbury, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Splitting cell values

    Hi, thanks for the quick response.

    I am a have two formulas that I am trying to use. Below the 3/90 value aforementioned a have a formula:
    =COUNTIFS(Range,"<="&TODAY(),Range,">="&TODAY()-30
    I am trying to link the -30 value in the formula to the 90 value in the cell above.

    I am also trying to add a conditional formatting to the countif cell value so that it is red if zero, and blue if below 75% of the 3 value in the cell above.

    Hope this is explains the meanderings of my slow brain! Again thanks for taking the time to help out.
    Rgds H

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,969

    Re: Splitting cell values

    Why not just use the references on their own?

    = Frequencies!E6
    =Frequencies!F6

    edit: oohh ok, then why not just use = Frequencies!E6&/Frequencies!F6 and format as fractions?

    edit2: helps if you read properly lol...
    =int(Frequencies!F6&/Frequencies!E6)
    If F6 = 90 and E6 = 3, that will give you the 30 you want?
    Last edited by FDibbins; 05-06-2013 at 01:04 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    04-23-2013
    Location
    Shrewsbury, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Splitting cell values

    Hi FDibbins, I have tried the simple option but the conditional formatting does not like using cells from other worksheets. Works fine in the other formula above.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,969

    Re: Splitting cell values

    No, you are correct, CF in 2007 wont ref other worksheets....unless you give the range a name and then ref the name instead

  7. #7
    Registered User
    Join Date
    04-23-2013
    Location
    Shrewsbury, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Splitting cell values

    Have used a row of hidden cells with the reference taken from the Frequencies tab, this seems to work best for now. for both formulas that I am trying to create. Sometimes look at the screen for too long removes my logical thought!! Thanks Marcol and FDibbins for your help.
    Rgds H

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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