+ Reply to Thread
Results 1 to 12 of 12

Hi new here and with excel could use some help thanks in advance

  1. #1
    Registered User
    Join Date
    06-26-2013
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Hi new here and with excel could use some help thanks in advance

    ok here is what im trying to do in my excel sheet i have 157 rows and in column E some cells are occupied with a name the others are blank i would like to find a formula that would say if the cell in column E has a name in it add the word "and" to it with a space after "and" i would like it to do the whole column any help would be greatly appreciated thanks new to this

    Jeff

  2. #2
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: Hi new here and with excel could use some help thanks in advance

    So as to not violate the forum rules, you need to rename this thread to something more descriptive than "need help." The thread title needs to be something that can easily be searched for.

    Next, you need to throw some punctuation into that run on sentence. It's hard to decipher what you're asking for. The more descriptive and easier it is to read, the better we will be able to assist you. For example, look at how some other threads and how the users post their questions.
    Don't just use the answers provided for you. Try to understand how it works by reverse engineering or asking about it.

    Please mark the thread as [SOLVED] (Thread Tools->Mark thread as Solved) when answered.
    If you're happy with an answer given, please click the * under the person's name to boost their reputation.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Hi new here and with excel could use some help thanks in advance

    is this in a another cell or overwriting the existing - if over writing - you need a macro - not my area

    if another Cell - say column F

    =IF( E1<>"", E1&" and " , "")
    this adds and after the name with a sapce before and after
    OR if you want it before the name
    =IF( E1<>"", "and "&E1 , "")

    copt down the 157 rows
    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.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Hi new here and with excel could use some help thanks in advance

    Thanks Craig.

    Gtsjeff,

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Hi new here and with excel could use some help thanks in advance

    Say you are using rows #1 thru #157. Try this small macro


    Please Login or Register  to view this content.
    Gary's Student

  6. #6
    Registered User
    Join Date
    06-26-2013
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Hi new here and with excel could use some help thanks in advance

    Such a very nice welcome from you Craig! I am in crunch time for work project, sorry I didn't meat your standards. I see you just came on to hassel the new guy asking for help without helping at all. I feel so welcome.

  7. #7
    Registered User
    Join Date
    06-26-2013
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Hi new here and with excel could use some help thanks in advance

    jakobshavn thanks so much for the macro. I really do appreciate it, like I said I am new to excel and have no idea where to place that macro for it to work.

  8. #8
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Hi new here and with excel could use some help thanks in advance

    Macros are very easy to install and use:
    1. ALT-F11 brings up the VBE window
    2. ALT-I
    ALT-M opens a fresh module
    3. paste the stuff in and close the VBE window
    If you save the workbook, the macro will be saved with it.
    If you are using a version of Excel later then 2003, you must save
    the file as .xlsm rather than .xlsx

    To remove the macro:
    1. bring up the VBE window as above
    2. clear the code out
    3. close the VBE window
    To use the macro from Excel:
    1. ALT-F8
    2. Select the macro
    3. Touch RUN
    To learn more about macros in general, see:

    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    Macros must be enabled for this to work!

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Hi new here and with excel could use some help thanks in advance

    gtsjeff,

    Did you read post 4?

  10. #10
    Registered User
    Join Date
    06-26-2013
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Hi new here and with excel could use some help thanks in advance

    jakobshavn .....you rock!!!!! the and was after my name so I switched the rvalue and the and around and it works perfectly thank you so much i have like 9 doc's to use this on ...have a great weekend jakobshavn

  11. #11
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Hi new here and with excel could use some help thanks in advance

    Hi,

    Look, I really don't want to get heavy over this....but...

    @gtsjeff

    There's no need to be sarcastic with Craig he's only pointing out the rules and this rule about Titles is probably the most important.

    @jacobshavn
    @etaf

    As senior members you really should know better. Are there any extenuating circumstances since at face value you are both due an infraction.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  12. #12
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Hi new here and with excel could use some help thanks in advance

    Hi Richard:

    I already apologized to Arlu (offline).
    Following the rules is important.

+ 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