[-] Donovar@lemmy.world 2 points 9 months ago

And you were correct! I take sample data too literally lol

[-] Donovar@lemmy.world 4 points 9 months ago* (last edited 9 months ago)

I usually divide a cell's value by 1. A value that isn't numeric will throw an error. Combining that with ISERROR or IFERROR, you can do some pretty powerful stuff.

[-] Donovar@lemmy.world 7 points 9 months ago* (last edited 9 months ago)

Okay, I couldn't wait so here are my formulas based on the following parameters:

1.) Numeric data always follows in rows after the correct alpha value. IE Anything between A and B values in the A column belong to the A group. Anything between the B and C values in the A column belong to the B group.

2.) You want the output to be in two separate columns.

Given that your input data is in column A and the value "A" begins at A1, here is your formula for B2 (B1 will be empty as there is no numeric value to tie to A1)

=IF(ISERROR(A2/1),"",A2)

This will put numeric values only that are in column A into column B.

Again, given that your input data is in column A and the value "A" begins at A1, here is your formula for C2 (C1 will again be empty as there is no numeric value for your array in A1)

=IF(ISERROR(A2/1),"", IF(ISERROR(A1/1),A1,IF(ISERROR(C1/1),C1,1)))

This will put the correct alpha values from column A into column C in the same rows as the numeric values from column B. If something goes really wrong, it will place the number 1.

Given that there are no gaps in your data, you should just be able to fill down and it'll appropriately put the correct values into columns B and C. At that point, I'd just paste the values of columns B and C into a new sheet (or columns) and sort the data to remove the blank rows.

I just tested it in LibreOffice Calc, and it works perfectly (given those parameters).

Edit: Repeated a word.

[-] Donovar@lemmy.world 4 points 9 months ago* (last edited 9 months ago)

Are the numeric values always correctly sorted in the cells below the alpha data cells? IE, youd never have A numeric values, then B numeric values, then more A numeric values?

Also just to be clear, are you putting the results in a single cell, or does the comma in your example denote separation between two cells? I'm guessing two cells. I want to work on this, but I just want to make sure I'm working on the correct thing :)

[-] Donovar@lemmy.world 8 points 10 months ago

Ope! Just gonna squeeze past ya quick.

[-] Donovar@lemmy.world 12 points 10 months ago* (last edited 10 months ago)

I quit my job without any plan at all on what I was going to do next. I was the sole IT worker for an SMB and had been for the past decade. I was burned out, exhausted, and jaded.

Now I'm going back to school, so I guess it wasn't the WORST decision. I definitely could've handled it better, though.

[-] Donovar@lemmy.world 4 points 11 months ago
[-] Donovar@lemmy.world 19 points 11 months ago

Alternatively, if we wait long enough we always have the heat death of the universe to look forward to.

[-] Donovar@lemmy.world 13 points 1 year ago

Now we just need food bowls that shake the food on their own.

[-] Donovar@lemmy.world 5 points 1 year ago

You just made me picture The Matrix but instead of humans as the "batteries" its nothing but Agent Smith clones being policed by yet more Agent Smith clones.

4
Schnoodle (lemmy.world)

Just kind of realized we may never see u/SchnoodleDoodleDo again without going back to Reddit.

It was always so refreshing and out of nowhere when you're having a bad day and there's nothing but bad news on Reddit. You click on a picture of a puppy doing something dorky and one of the top most voted comments was by good ol' Schnoodle.

Thanks for listening.

[-] Donovar@lemmy.world 4 points 1 year ago* (last edited 1 year ago)
[-] Donovar@lemmy.world 13 points 1 year ago

I used to work at an electronics manufacturer in the US and our vendors had the same deals etched out in their invoices.

view more: next ›

Donovar

joined 1 year ago