+ Reply to Thread
Results 1 to 11 of 11

need to figure out which cell contains text

  1. #1
    Registered User
    Join Date
    02-04-2013
    Location
    Missouri
    MS-Off Ver
    Excel for mac 11
    Posts
    11

    need to figure out which cell contains text

    I need help! I am new to this...I am going to have to explain a few things first. The information comes from a .csv from acrobat via a form for a company. The checkboxes in the form that are not clicked export as off. The check boxes are how contacted...vhf...phone...BoatUs...Dispatch....other....cg.....visual.. that is what goes into E2 to J2 only one will be clicked the rest will say off is there a way I can choose the one that is the way they were contacted and send it to my (master sheet) c2
    Last edited by detailingking; 02-04-2013 at 10:06 PM. Reason: title

  2. #2
    Registered User
    Join Date
    02-04-2013
    Location
    Missouri
    MS-Off Ver
    Excel for mac 11
    Posts
    11

    Re: need to figure out which cell contains text

    I have no clue as to what code or how to explain what I need. I am very new to this would love help!

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: need to figure out which cell contains text

    Hi detailingking and welcome to the forum,

    I suggest you IMPORT the data from whatever program you are using into Excel. Then we/you can see which cells the data comes into. Perhaps the correct columns will have data in them and we can start by using Excel functions. Until the data is in Excel we are clueless. Can you attach a sample of what your data looks like, or even the .csv file?

    You can attach a file by clicking on "Go Advanced" and then on the Paper Clip Icon above the advanced message area.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,933

    Re: need to figure out which cell contains text

    It would be very helpful if you uploaded a copy of your workbook. Tell us what you want to change in the workbook. Tell us what the expected results should look like. Currently what you have provided us is a bunch of gibberish. Tell us in plain simple English with examples what you are trying to do.
    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

  5. #5
    Registered User
    Join Date
    02-04-2013
    Location
    Missouri
    MS-Off Ver
    Excel for mac 11
    Posts
    11

    Re: need to figure out which cell contains text

    I have the information going from the (tow sheet) to the (mastersheet) I need to determine which one of (E2-J2)are the way they were contacted. (E2-J2) are checkboxes on a Eform. The Eform is exported to .csv and then opened and copied and pasted into the (tow) sheet. So it could be any of them all of them export value is the name (EX. VHF, Phone, etc.) Then it populates the master and then commission. I hope I did better this time...
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-04-2013
    Location
    Missouri
    MS-Off Ver
    Excel for mac 11
    Posts
    11

    Re: need to figure out which cell contains text

    Thank you.

  7. #7
    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,945

    Re: need to figure out which cell contains text

    You havnt provided much in the way of samples to test against, but give this a shot, in C2, copied down. Its not pretty, and some-one will hopefully suggest a more eligant way...

    =IF(Tow!E2="Off",IF(Tow!F2="Off",IF(Tow!G2="Off",IF(Tow!H2="Off",IF(Tow!I2="Off",IF(Tow!J2="Off",IF(Tow!K2="Off","","Other (TXT)"),"Other"),"Boat"),"Visual"),"Coast Guard"),"Phone"),"VHF")
    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

  8. #8
    Registered User
    Join Date
    02-04-2013
    Location
    Missouri
    MS-Off Ver
    Excel for mac 11
    Posts
    11

    Re: need to figure out which cell contains text

    This file is copied and pasted manually into (tow)(A1) across which goes into the (master)
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-04-2013
    Location
    Missouri
    MS-Off Ver
    Excel for mac 11
    Posts
    11

    Re: need to figure out which cell contains text

    This Works. Thank you so much. I have plenty more LOL!!!

  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
    52,945

    Re: need to figure out which cell contains text

    Happy to help. My only concern is if a cell contains nothing, as in K2 in your 1st sample file. Is this likely to happen?

  11. #11
    Registered User
    Join Date
    02-04-2013
    Location
    Missouri
    MS-Off Ver
    Excel for mac 11
    Posts
    11

    Re: need to figure out which cell contains text

    Ya. I noticed that too. I just figure they will be cool with it. There will always be some way they are contacted though. I really appriciate this.

+ 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