Forum Discussion
re-organize the first column to create separate columns
Valencia -- I'm, frankly, conflicted here when it comes to helping you. Why? Because you'd learn a lot more by struggling through figuring out how to resolve these on your own. I'll make a couple of recommendations or suggestions, but it'd be a lot better if you made some more efforts at figuring out your own solutions.
You mentioned in your first message that "The Text Manager is not giving me the columns in the way that I have them set up." I'm not even sure what you're referring to as "the Text Manager"--excel Help does not return any results from that term. There ARE text manipulation functions and I've used a few of the basic ones here in the attached revision of your sheet, to resolve the very first of the problems. These are the functions LEFT, MID, and RIGHT.
These all operate on Cell A4, which contains the text: "Daisy Girl #1 O# 1"
- LEFT will get text beginning at the left end of a string, going for a specified number of characters. In this case, I used FIND (and in others) to determine where to stop, the answer to which is, stop when you come to a space. The resulting formula looks like this.
- =LEFT(A4,FIND(" ",A4)-1)
- RIGHT is similar, expect it begins at the right end of the string. I "cheated" in this case, because I could tell by looking at your data that the Order Number, which is what we want, is never more than one digit in length, so I could simply say, in effect, "Get the one character at the right end of the cell's string."
- =RIGHT(A4,1)
- The most complicated formula is the one to get text out of the middle of the string, the name of the scout, and it consists, in effect, if two words, "Girl #1" in this case. So the formula has to tell Excel where to start and where to stop. It starts right after the first space, and counts the number of spaces between that first space and the occurrence of the letter "O" which is the beginning of "O#" or, in some of the rows, the word "Order"
- This formula does work for all of data elements in your exercise, but if the data were more inconsistent, it would have to be made more sophisticated. If, for example, there were real names in there, and there was a girl (or many) with names that began with or contained the letter "O"
- Anyway, it works for this, so we didn't need to get more fancy:
- =MID(A4,FIND(" ",A4)+1,FIND("O",A4)-FIND(" ",A4)-2)
Having done this, I will tell you that VLOOKUP should work for the rest of the columns, where you're supposed to find the number of different cookies each girl sold.
And if you're really interested in teaching yourself, I'd highly recommend a book by Smitty Smith (a Microsoftie), a book entitled Excel 2019, Business Basics & Beyond. It's available on Amazon.
Not all books on Excel are easy to read; this one is a good and readable introduction to the kinds of problems you've been given.
As I said, though, if you make a few stabs and find yourself up against it, by all means come back and post questions. It's just that the more you hang in and struggle with it, the more you'll actually be able to understand and explain it. Having somebody else do it for you is helpful in some ways, but not the best way to learn.