I’m sure I’ve seen a macro somewhere that can look at each row, check if a specific detail is there and then copy the data to another sheet. Darned if I can find it at the mo. Will keep looking.
This is a subset of similar stats by machine, OS, Type, Inside leg measuerment I have to provide on a very regular basis.
Almost certainly more regularly than it is ever looked at.
The state of play now is, when told to jump, asking how high is seen as being confrontational.
I think, top of head stuff, that without using some rather nasty pivots, this will do the job. Due to the formatting in excel, you’ll need to enter into the cell with a ctrl+shift+enter or it goes a bit wobble for some reason.
Thanks for all the suggestions but the only sensible response is cobblers to Excel, CSV export and do the bloody job in shell/awk/perl.
Just means I will be stuck with it rather than offloading it to somebody else.
ok, heres my 2 penneth (and i’ve tried it under 2003…
2 columns… with 2 extra if statements…
Column A = Machine
Column B = Sun Status
Column C = HP Status
Column B =IF(SEARCH(“sun”,A1),“SUN - Live”," “)
Column C =IF(SEARCH(“hp”,A1),“HP - Unknown”,” ")
(I tried the nested if but it didn’t work as expected…
=IF(SEARCH(“sun”,A1),“Sun-Live”,IF(SEARCH(“hp”,A1),“HP-Unknown”," "))
A1 = Sun - result Sun-Live
A1 = hp - result #value!
)
you can then just do a counta as a total to the columns…