+ Reply to Thread
Results 1 to 13 of 13

Text and Formulas

  1. #1
    Registered User
    Join Date
    03-11-2014
    Location
    seattle
    MS-Off Ver
    Open Office
    Posts
    24

    Text and Formulas

    This is what I've typed in the box.... =E26-F26 &" to " &E26+F26

    This is what it spits out..... -1.17075733089629 to 0.933302652016837

    This is what I want it to spit out .... -$1.17 to $0.93

    Help.

  2. #2
    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
    53,048

    Re: Text and Formulas

    try this...
    =text(E26-F26,"$0.00"), &" to " &text(E26+F26,"$0.00")
    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

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,651

    Re: Text and Formulas

    =TEXT(E26-F26,"0.00") &" to " &TEXT(E26+F26,"0.00")
    Quang PT

  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
    53,048

    Re: Text and Formulas

    @ bebo, you forgot the $

  5. #5
    Registered User
    Join Date
    03-11-2014
    Location
    seattle
    MS-Off Ver
    Open Office
    Posts
    24

    Re: Text and Formulas

    I must be doing something wrong. Neither of these works. I'm pretty sure you folks know what you're talking about. I copyed and pasted your ideas in and I got an error...

  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
    53,048

    Re: Text and Formulas

    what error did you get?

    Can you upload a sample workbook?

  7. #7
    Registered User
    Join Date
    03-11-2014
    Location
    seattle
    MS-Off Ver
    Open Office
    Posts
    24

    Re: Text and Formulas

    I get an error 508

  8. #8
    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
    53,048

    Re: Text and Formulas

    Are you trying to use this in VBA? a regular formula will not give you that error message

  9. #9
    Registered User
    Join Date
    03-11-2014
    Location
    seattle
    MS-Off Ver
    Open Office
    Posts
    24

    Re: Text and Formulas

    oh shoot, I'm sorry guys. I'm using open office calc!

    didn't seem worth mentioning till now.

  10. #10
    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
    53,048

    Re: Text and Formulas

    hahahaha ok

    I have not used that, lets try this.

    enter just =text(E26-F26,"$0.00") and see what you get?

    by the way, you ARE just entering this in a normal cell, right?

  11. #11
    Registered User
    Join Date
    03-11-2014
    Location
    seattle
    MS-Off Ver
    Open Office
    Posts
    24

    Re: Text and Formulas

    I entered what you just told me to and got the same darn err 508. yes, I am just entering this in a normal cell. tried a few diff cells to be sure. thank you.

  12. #12
    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
    53,048

    Re: Text and Formulas

    hmm ok lets try this....

    put =E26-F26 in its own cell (I used A1, adjust as needed), then see what this gives you?

    =LEFT(A1,IF(A1<0,5,4))

  13. #13
    Registered User
    Join Date
    03-11-2014
    Location
    seattle
    MS-Off Ver
    Open Office
    Posts
    24

    Re: Text and Formulas

    where am i supposed to put =LEFT(A1,IF(A1<0,5,4)) ????

    I put =E26-F26 in its own cell and it spits back the number correctly.

    I put =LEFT(A1,IF(A1<0,5,4)) in its own cell and I get an error?

+ 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. [SOLVED] Excel 2007 : Help with getting text formulas to add
    By o811marine in forum Excel General
    Replies: 3
    Last Post: 04-18-2012, 11:55 AM
  2. Replies: 0
    Last Post: 02-08-2012, 02:38 PM
  3. Replies: 2
    Last Post: 12-30-2011, 06:22 PM
  4. Can text formulas check text right-to-left?
    By maxedison in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-24-2011, 03:43 PM
  5. Convert formulas in text into formulas
    By Tau in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-13-2007, 08:31 AM

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