C-CWEL Excel Practice

From CoolWiki
Revision as of 03:53, 9 May 2013 by Rebull (talk | contribs) (Created page with "i'm trying to think a little ahead. by about a month from now, i'd like to be able to help you, over a telecon, do some of the color cuts on at least a subset of our data, or ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

i'm trying to think a little ahead. by about a month from now, i'd like to be able to help you, over a telecon, do some of the color cuts on at least a subset of our data, or data like it. i just don't have a good enough read on your collective computer skills to know if this is feasible to do over the phone or would end up being so damn frustrating that we should wait until your visit.

the basic skills you'd need to do this in excel would be:

(1) reading a text file into excel (i do have a screencapture tutorial on that -- again, developed for another team, but fundamentally the same concepts even if the first little bit isn't directly applicable : http://www.youtube.com/watch?v=nCJ3ctOGvNk&list=UUQfN0BTwaSZ6ABsQcieCpdA&index=1&fe ature=plcp

(2) convincing Excel how to ignore certain data. in my world, i need a placeholder for 'no data', so in most of my tables, -9.00 means 'no data available'. The most efficient way to convince Excel that that is 'no data' is just a global search and replace. There are some subtle tricks on this, which is why I am listing this as a separate skill.

(3) manipulating columns. programming column E to be column B-D. More handling of "no data" issues here. (though for our test set, i could limit this to just be objects where there are data in all columns, making the 'no data' issues non-existent.)

(4) plotting columns against other columns, and setting limits on what is plotted such that the 'no data' objects don't appear. personally, i think plotting in excel is a gigantic pain in the @$$ and i never get it right on the first try. it is far easier for me to write code to make plots, so that is what i do. i will be of limited help on this; i will just end up poking buttons until i stumble on what works for your excel version. you need to pick 'xy plots' or 'scatter plots' or other words like those (exactly what you pick is dependent on your excel version.) there are several you tube tutorials from the general public that i can find that address making plots in excel. (again, for our test set, i could limit this to just be objects where there are data in all columns, making the 'no data' issues non-existent, but this will be an issue in our "real" data set.)

(5) plotting lines on top of such plots, NOT ones that just connect the points as plotted in the prior step, but instead can be represented by equations. you could create an additional pair of columns (or set of columns) on another sheet within the same workbook to overplot on the plot; that's what i would think would be the easiest thing to do.

(6) identifying objects in different sectors of that plot. this is not particularly trivial in excel, at least as i can think of off the top of my head. the same basic approach i used in my own code would probably be the easiest here -- add another excel column that is 1 ('yes') if the object passes the test and 0 ('no') if not. (and repeat for each of the series of tests.) the code that would automatically populate that column would probably be relatively complex, compared to the other items here.


NOW, keep in mind that the main reason i want to do this is to give you a better understanding of the Koenig color cuts, because i sense that this is important to you. in terms of the skills you're going to need to do the rest of the things we need to do, #6 here is the least important, in part because for our BRC 38 catalog, Xavier has already run his color cuts, so we already have the set of yes/no categories for each object, so we need not reproduce all of that work. I would like to have you do at least a few cuts so that you get the idea. #6 really is the least critical, because for illustrative purposes, we could do step 6 by hand.