+ Reply to Thread
Results 1 to 9 of 9

putting a quote in a cel as a result of a formula

  1. #1
    kyrbi
    Guest

    putting a quote in a cel as a result of a formula

    Hi is it possible to replace the nr 4 with a " in this formula?

    I just want to put a " in the cel

    Thanks!

    =IF(D100<>0;(IF(L100=K100;"4";IF(L100<K100;"m";"k")));"")



  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451
    Replace the 4 in your formula with a pair of quotes so that you have a total of 4 quotes (ie instead of "4" use """")

  3. #3
    Bob Phillips
    Guest

    Re: putting a quote in a cel as a result of a formula

    Do you mean this?

    =IF(D100<>0;(IF(L100=K100;"""";IF(L100<K100;"m";"k")));"")

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "kyrbi" <[email protected]> wrote in message
    news:Kz%[email protected]...
    > Hi is it possible to replace the nr 4 with a " in this formula?
    >
    > I just want to put a " in the cel
    >
    > Thanks!
    >
    > =IF(D100<>0;(IF(L100=K100;"4";IF(L100<K100;"m";"k")));"")
    >
    >




  4. #4
    kyrbi
    Guest

    Re: putting a quote in a cel as a result of a formula

    > Do you mean this?
    >
    > =IF(D100<>0;(IF(L100=K100;"""";IF(L100<K100;"m";"k")));"")
    >
    > --

    Yes,

    I mean this, but this is not working, the formula gives an error......
    because of the 3 quotes......

    Thanks



  5. #5
    Bob Phillips
    Guest

    Re: putting a quote in a cel as a result of a formula

    It is 4 quotes not 3.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "kyrbi" <[email protected]> wrote in message
    news:[email protected]...
    > > Do you mean this?
    > >
    > > =IF(D100<>0;(IF(L100=K100;"""";IF(L100<K100;"m";"k")));"")
    > >
    > > --

    > Yes,
    >
    > I mean this, but this is not working, the formula gives an error......
    > because of the 3 quotes......
    >
    > Thanks
    >
    >




  6. #6

    Re: putting a quote in a cel as a result of a formula

    Try this and see if it's what you want:

    =IF(D104<>0,IF(L104=K104,CHAR(147),IF(L104<K104,"m","k")),"")

    Also, you are using semi-colons in your IF statement when you should be
    using commas.

    kyrbi wrote:
    > > Do you mean this?
    > >
    > > =IF(D100<>0;(IF(L100=K100;"""";IF(L100<K100;"m";"k")));"")
    > >
    > > --

    > Yes,
    >
    > I mean this, but this is not working, the formula gives an

    error......
    > because of the 3 quotes......
    >
    > Thanks



  7. #7
    Peo Sjoblom
    Guest

    Re: putting a quote in a cel as a result of a formula

    Of course anyone that has semicolons as delimiter in the regional settings
    would have to use that (all of continental Europe
    for instance)

    --

    Regards,

    Peo Sjoblom

    <[email protected]> wrote in message
    news:[email protected]...
    > Try this and see if it's what you want:
    >
    > =IF(D104<>0,IF(L104=K104,CHAR(147),IF(L104<K104,"m","k")),"")
    >
    > Also, you are using semi-colons in your IF statement when you should be
    > using commas.
    >
    > kyrbi wrote:
    > > > Do you mean this?
    > > >
    > > > =IF(D100<>0;(IF(L100=K100;"""";IF(L100<K100;"m";"k")));"")
    > > >
    > > > --

    > > Yes,
    > >
    > > I mean this, but this is not working, the formula gives an

    > error......
    > > because of the 3 quotes......
    > >
    > > Thanks

    >




  8. #8
    kyrbi
    Guest

    Re: putting a quote in a cel as a result of a formula

    Thanks
    using 4 quotes is the trick..... strange, how do you put 2 quotes?



  9. #9
    Bob Phillips
    Guest

    Re: putting a quote in a cel as a result of a formula

    6

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "kyrbi" <[email protected]> wrote in message
    news:[email protected]...
    > Thanks
    > using 4 quotes is the trick..... strange, how do you put 2 quotes?
    >
    >




+ 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