Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
ZerodotJander
Dec 29, 2004

Chinaman, explain!

wither posted:

This is sort of out of place as I don't have a specific question directly soliciting help, but since there are _tons_ of advanced Excel users here, I figured there'd be no better place to ask for advice. (Mods feel free to delete this post if it's out of place).

As many of you know, Office 13 and Office Live(the online, surprisingly full-featured version of Office) are both going to have app stores. I already have one project written and waiting for approval, but I need your advice.


The solutions I write tend to be .NET/MS SQL based so I don't know what problems you guys tend run into, how you use it (I know there's a lot of VLOOKUPS and VBA in there, with some VBA thrown in but that's more or less the extent of it).

I want to know what problems you commonly run into and what solutions
1) -- you wish were built to make your lives easier, or
2) -- have already built and think that other people might like

If you help me out with an idea that is widely applicable to the masses, I will be not only extremely grateful but willing to collaborate with you on a free solution for your organization (with long-term support too! what a great deal!) in appreciation for your feedback. Quote this or PM me with the problem and a little bit of information about your organization and I'll see what my dev team and I can hammer out. Thanks :D
One great Excel tool I and a lot of people in my industry would love would be something that can convert between Google AdWords bulksheet export files and pretty, readable looking views of Search Engine Marketing campaigns.

Adbot
ADBOT LOVES YOU

ZerodotJander
Dec 29, 2004

Chinaman, explain!
I'm not even talking stats or any sort of management tool. That stuff is handled well by robust packages that agencies and companies pay a pretty penny for.

I'm talking purely a visual tool that allows AdWords managers to create and share campaigns in a more visually intuitive format, so it's easier to see how an Ad Group or Campaign is structured; but be able to quickly convert between that visually appealing format and a bulksheet format that would be easy to paste into AdWords Editor to actually make changes.

The big problems I've seen in attempts at this tend to be dealing with inconsistencies between how many data fields exist for each campaign/adgroup - some groups might have 1 ad, some might have 7. Some groups might have 500 negative keywords, some might have 0. One campaign might be targeting 400 different zip codes, another might have no location targeting specified.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
Sure, let me scrub some spreadsheets and upload some examples. Obviously anybody else is welcome to jump in with their own examples.

There are definitely ways to make this more robust and powerful, but I actually think that would reduce the utility of the tool to people in my kind of position while making it much more expensive to develop.

Edit: Here is a sample bulksheet - http://www.zerodotjander.com/excelfiles/bulksheetsample.csv

I've replaced numerical values with "xx".

And here is a sample "pretty" view of most of the same data, which is much more readable to someone who doesn't eat live and breathe this type of work - http://www.zerodotjander.com/excelfiles/Messaging_Pretty_Sample.xlsx

Note that this pretty version doesn't include all the data from the bulksheet - no negatives, no bids or performance info - just campaign, positive keywords, ad text, destination URL.

Doesn't need to be exactly this format or anything but you get the general idea - moving from an inscrutable CSV to something someone who doesn't work with these spreadsheets all day can read.

ZerodotJander fucked around with this message at 17:23 on Oct 2, 2012

ZerodotJander
Dec 29, 2004

Chinaman, explain!

wither posted:

Your .xlsx is 404'ing :( Can you email it to me at wither@gmail.com ? More ideas guys!

Edited the link and e-mailing.

Another good tool would be one that took phrases from column A and removed them plus all word order variants from column B.

So for example, Column A contains "pretty things" and "dumb things".

Column B contains "pretty things" "things" "things dumb" "things dumb pretty".

The tool should remove the 1st and 3rd items from Column B.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
There's probably a clever way to do it, but I would do this-

Sort by Column A, so cells that should be merged are all next to each other.

Add a column D and column E for your desired output columns. Duplicate B2 and C2 in D2 and E2.

In column D, starting from D3, use this formula and fill down: =IF(A3=A2, D2&","&TRIM(B3), TRIM(B3))

In column E, starting from E3, use this formula and fill down: =IF(A3=A2, E2&","&TRIM(C3), TRIM(C3))

This will create your desired final output in the last row for each group with the same Name field. Then you just have to filter those out. You can do that with this formula in Column F and filling down, starting from F2: =IF(A2=A3,"No","Yes")

This will put "Yes" next to the last value (with your desired outputs). Then you can just filter by Yes in that column, and you'll have what you need.

Edit: If you do this you'll end up with some extra commas, just do Find & Replace for ",," with "," a few times. You might have to trim some leading or trailing commas as well. You can adjust the IF to check for LEN(Cell)>0 before the concatenate if you want.

ZerodotJander fucked around with this message at 00:40 on Nov 13, 2012

ZerodotJander
Dec 29, 2004

Chinaman, explain!
Create 1 instance of Column A, put value 1 next to it and fill down all 30 cells. Copy the 30 values of Column A, paste under itself, put value 2 next to it and fill down all 30 cells. Repeat until you have all 4 of your 2nd column values, sort by column B. Concatenate into 3rd column as needed.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
Couldn't you just divide all of the Y values by the highest Y value (or whatever you're normalizing against)?

Easiest way to do that is to copy the Y value, select the data set, Paste Special and choose Divide.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
Highlight every column to the right (select column D, Ctrl+Shift+Right) and hide them. Delete (not clear) those cells first to avoid inflating your file size with empty cells.

ZerodotJander
Dec 29, 2004

Chinaman, explain!

Xenoborg posted:

Is there any way to things like Sum and Count on only the visible part of a filtered list? Preferably something that can just be in a cell and not involving macros.

This might not solve your problem but if you select a filtered area the totals shown in the status bar are for the visible cells only.

ZerodotJander
Dec 29, 2004

Chinaman, explain!

Total Meatlove posted:

If Column A in Excel has numbers and text in it, how would you write a rule to move only the text across and up one cell?

In B2, =IF(A3>100000,A3,"")

Any word is larger than any number.

ZerodotJander
Dec 29, 2004

Chinaman, explain!

MythObstacleIV posted:

I have two files. I need the red in column 1(pretend the numbers are the same, it's in the list somewhere), the green in column 2, and the blue in column 3.

The hard part is that bottom file. I don't know how to get that green number in the same row as its associated red number. I tried delimiting it and had it all in a column, and tried to grab every 7th row but the spacing isn't that nice so that didn't work.

Someone else will probably post a more elegant solution, but what I would do is:

1. Open the 2nd file in an advanced Text Editor of your choice - Textpad, Emacs, Vim, whatever
2. Replace \n> (new line then >) with some sort of placeholder, e.g. @@
3. Replace "<TD width=13%>" with Tab
4. Replace all remaining newlines with Tab
5. Replace your placeholder with newline
6. Paste into Excel

This should turn each block starting with a > prompt into one line, with tabs between strings, and all of the values you need should be lined up into the same column.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
Couldn't you also have just taken the last 3 characters? Something like =SUBSTITUTE(RIGHT(TRIM(A1),3),".","")

ZerodotJander
Dec 29, 2004

Chinaman, explain!

wikipe tama posted:

I have a worksheet that has a formula:
=AND(VALUE($E$1)-VALUE(A4)>0,VALUE($E$1)-VALUE(A4)<=7)

$E$1 is todays date and column a is a vertical list of dates so I'm trying to find a particular date in that list that is 7 or less days ago but not today and apply conditional formatting to it. Problem is I have to do this for someone with a Mac and he's not seeing the formatting even though I can. I'm guessing it has something to do with the 1462 day difference in the two programs date systems (Mac uses a 1904, Windows 1900) but adding +1462 didn't seem to help.

Not sure what is going wrong for you, but you can just apply 2 of the pre-built formats - highlight days within last 7, then format Today back to default.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
You can cut and paste charts, it will paste so that the upper left hand corner starts in the upper left hand corner of the cell you have selected.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
The UI isn't very intuitive but what you need to do is click on the heading for the bottom row (the 121) and drag down, as if there were more rows available to select there. It'll give you the little tooltip that's like "1 million rows selected" and then you can unhide.

ZerodotJander
Dec 29, 2004

Chinaman, explain!

Falcon2001 posted:

Sooooo, I'm trying to figure out how to figure out, given a series of tickets with start and end times, how many were active on a given hour (in a way that I could graph and report programatically).

For instance, I can pull ticket data like such:

code:
ticketid    start time     end time
-----------------------------------
0001        9/1/13 00:00   9/1/13 00:30
0002        9/1/13 00:01   9/4/13 00:30
0003        9/2/13 06:45   9/5/13 07:00
And I'd preferably like to have something like this come out the other end
code:
date         hour         active count
--------------------------------------
09/1/13      0000         2
And while I logically understand what I'm trying to find, I have no idea how to parse for it in excel. Help me goons!

edit: actually, as written I know how to do that, I think I'm just trying to figure out a way to do it that doesn't make a huge table of static dates.

First off, in your example there should only be 1 active ticket at 9/1/13 0:00 right? Because the second ticket starts at 0:01.

For readability, I'm assuming you name your ranges from the first table StartTimeRange and EndTimeRange. Then create a list of all the hours you want to report against, let's say in Column F, first value in row 2. Then a formula like

=COUNTIFS(StartTimeRange, "<=F2", EndTimeRange, ">=F2")

Should give you the number of tickets where F2 falls in between those times.

vvv

You'll want to normalize the ticket start and end times to just the closest hour then.

ZerodotJander fucked around with this message at 22:19 on Sep 24, 2013

ZerodotJander
Dec 29, 2004

Chinaman, explain!
Filter your list by "Contains" the letter in question, then copy out the list of cells. It's not worth automating if you only have a handful of properties.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
I'm confused by what you are trying to do here. Are you trying to look up the code from table 2 into table 1? For that I would do

=IFERROR(VLOOKUP(LEFT(A3,4),$A$10:$B$14,2,FALSE),"")

ZerodotJander
Dec 29, 2004

Chinaman, explain!

Xovaan posted:

My boss is trying to open my Excel 2010 worksheet (which includes pivot tables) in his Mac 2011 but it doesn't seem to be working. What's the correct route to allowing him to see the same content on his Mac with Office 2011 as I see on my Windows with Excel 2010?

I would guess the main functionality you are having problems with is slicers. You'll just have to either show him how to access different views using default pivot table options or just create them in advance.

Another option is to just Remote Desktop to a reporting PC. That's more realistic than you might first expect depending on what exactly you're doing on a regular basis and for some people that's way easier than dual-booting into Windows.

ZerodotJander fucked around with this message at 16:50 on Oct 27, 2013

ZerodotJander
Dec 29, 2004

Chinaman, explain!
Use COUNTIF to create a column that indicates how many times that value appears in the data table. Then filter by color and COUNTIF value > 1.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
What are you intending to do with this chart? Print it? Embed it in another document? Just show it to someone in Excel?

ZerodotJander
Dec 29, 2004

Chinaman, explain!
I hope you meant SUMIF and not COUNTIF in your question.

Also you can just do this with a wildcard condition.

=SUMIFS(E:E, F:F, "Kumba", C:C, "<>Tax on*") will give you total for Kumba not including rows marked "Tax on".

ZerodotJander
Dec 29, 2004

Chinaman, explain!
=COUNTIFS(C:C,"Person A",D:D,"<>Withdrawn")

ZerodotJander
Dec 29, 2004

Chinaman, explain!
What are you looking for here? The list of numbers that appear at least 3 times? The number of numbers that appear at least 3 times? The total number of occurences of numbers that appear at least 3 times? Something else?

ZerodotJander
Dec 29, 2004

Chinaman, explain!
By far the easiest would be to put it all in one column and then use a Pivot Table.

ZerodotJander
Dec 29, 2004

Chinaman, explain!
Most of those dates are stored as text, your September dates were stored as actual dates. Actual dates are stored as a number, which is how many days it's been since 1/1/1900 (or 1/1/1904 if you have that option checked). It gets displayed as a date because you format the cell as a date. When you format the cell as text, it just shows the number. You'll just need to retype those September dates to make them text (or convert all of your other ones to actual dates, depending on your needs).

ZerodotJander
Dec 29, 2004

Chinaman, explain!
What do you want the result to be in that case? It may be helpful to share a sample of your sheet, or at least a screenshot.

Adbot
ADBOT LOVES YOU

ZerodotJander
Dec 29, 2004

Chinaman, explain!
Use the consolidate tool.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply