Closed Thread
Results 1 to 2 of 2

Function to help generate sentences from a multitude of options?

  1. #1
    Registered User
    Join Date
    08-21-2018
    Location
    New York
    MS-Off Ver
    2016
    Posts
    2

    Function to help generate sentences from a multitude of options?

    So I'm not sure if this should go here or in another forum but here goes:
    Right now I have a list of around 100 manholes, and each manhole has 8 different things that could be wrong with it (defects), each of those has 12 positions that they could be at in the manhole (think positions on a clock).

    For example a manhole could have 2 holes and 1 leak at 5, 7, and 11 o'clock in the manhole.

    In Excel I have a column for every type of defect that, when the defect column and manhole row match up, if the manhole has that defect, the number of defects is manually entered into that cell. If there are no defects, they are all left blank in that row. Then, the number of defects and type of defect is put into a different cell for formatting, so it looks like this:
    Please Login or Register  to view this content.
    The numbers up top along withe at, bench, etc, are all for what I use as references when I'm building my sentences. I reference all the cells individually in order to create a sentence that looks something like this:

    68409 has (2) Weepers at 2, 3 o'clock in channel and (1) gusher at 3 o'clock on bench

    The Italics show what is selected from the sheet. I want Excel to do all the work for me, rather than typing in something like this every time:
    Please Login or Register  to view this content.
    I'm not sure if Excel can help me at all because there are a lot of references and possibilities. I'm not afraid to have to do some of it myself, like making sure the sentence flows well or even put in heights within the manhole (Cause I need to do that too), but if something could get me started, then that would help a lot.

    Thanks!
    The two photos below are from my spreadsheet so you can see where everything is.
    maybe this will help2.PNGmaybe this will help.PNG

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Function to help generate sentences from a multitude of options?

    Hi Tykuhn42. Welcome to the forum.

    It would be helpful if you uploaded a sample Excel workbook with a few (5-10) examples of desired output.

    If you are not familiar with how to do this:

    To attach a file to your post: (Please no pics or screenshots ... saves retyping data.),
    • be sure to desensitize the data
    • click “Go Advanced” (next to Post Quick Reply – bottom right),
    • scroll down until you see “Manage Attachments”, click that,
    • click “Browse”.
    • select your file(s)
    • click “Upload”
    • click “Close window”
    • click “Submit Reply”

    The file name will appear at the bottom of your reply.
    Dave

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to get an average number of days away from a multitude of dates.
    By GarethEade in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-06-2015, 07:19 AM
  2. [SOLVED] Generate Different Combinations of Yes or No To n Amount of Options
    By QAChaska in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2014, 05:30 PM
  3. Find a requested word within sentences and output those sentences elsewhere
    By swfred2000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-19-2014, 02:24 PM
  4. [SOLVED] IF a cell has one of a multitude of values
    By bibu in forum Excel General
    Replies: 5
    Last Post: 03-12-2014, 05:46 PM
  5. Change a Reg Box into a Combo to generate a list of options-get new VBA plug-in
    By brwnrootsister in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2014, 12:52 AM
  6. Using the LOOKUP function to extract numbers from sentences
    By velda in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-03-2013, 12:04 AM
  7. [SOLVED] sumif function with partially matchin sentences
    By Vikram Dhemare in forum Excel General
    Replies: 2
    Last Post: 04-25-2006, 02:30 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