![]() |
|
|
|||||||
| FlashChat | Actuarial Discussion | Preliminary Exams | CAS/SOA Exams | Cyberchat | Around the World | Suggestions |
![]() |
|
|
Thread Tools | Display Modes |
|
#151
|
||||
|
||||
|
That is simply stunning.
__________________
This post was crafted using a special blend of herbs and sarcasm. |
|
#152
|
|||
|
|||
|
So... two very important shortcuts I've stumbled across that my coworkers apparently don't use:
1.) If you highlight part of a function, and press f9, Excel will try to evaluate that part. It will evaluate ranges and arrays too, if they're not super long. 2.) If you highlight part of a function that evaluates to a range, and press f5, Excel will try to take you to that range. So if you click on a cell with Quote:
Quote:
Which in this case happens to just be 3 cells, ScenarioResultsClm!ID15:IF15. Last edited by Gedankenexperiment; 08-16-2011 at 05:08 PM.. |
|
#153
|
||||
|
||||
|
=INDEX(F2:Q2,1,MATCH(">0",$F$1:$Q$1,1))
maybe, i didn't test it
__________________
def no_one(the_spanish_inquisition): **** Juan. |
|
#154
|
|||
|
|||
|
Quote:
Though to be fair there was something a little tricky about it, the numbers weren't ordered or something. |
|
#155
|
||||
|
||||
|
This is what i did today:
=IFERROR(IF($F$3="(All)",GETPIVOTDATA("myPaid",Seg mentPivot!$A$5,"agg_seg_cd",$C6,"Quarters",RIGHT(F $5)*1,"Years",LEFT(F$5,4)*1),GETPIVOTDATA("myPaid" ,SegmentPivot!$A$5,"agg_seg_cd",$C6,"Quarters",RIG HT(F$5)*1,"Years",LEFT(F$5,4)*1,"Program",$F$3)),0 )-IFERROR(IF($F$3="(All)",GETPIVOTDATA("RPTG_NET_PAI D_AMT",SegmentPivot!$A$24,"agg_seg_cd",$C6,"Quarte rs",RIGHT(F$5)*1,"Years",LEFT(F$5,4)*1),GETPIVOTDA TA("RPTG_NET_PAID_AMT",SegmentPivot!$A$24,"agg_seg _cd",$C6,"Quarters",RIGHT(F$5)*1,"Years",LEFT(F$5, 4)*1,"case_program",$F$3)),0)+IFERROR(IF($F$3="(Al l)",GETPIVOTDATA("calc_paid_save",SegmentPivot!$A$ 40,"agg_seg_cd",$C6,"Quarters",RIGHT(F$5)*1,"Years ",LEFT(F$5,4)*1),GETPIVOTDATA("calc_paid_save",Seg mentPivot!$A$40,"agg_seg_cd",$C6,"Quarters",RIGHT( F$5)*1,"Years",LEFT(F$5,4)*1,"Program",$F$3)),0)+I FERROR(INDEX(FacilityPivot!$D$32:$O$46,MATCH($F$3& $C6,FacilityPivot!$A$32:$A$46,0),MATCH(F$5,Facilit yPivot!$D$19:$O$19,0)),0)
__________________
def no_one(the_spanish_inquisition): **** Juan. |
|
#156
|
||||
|
||||
|
Quote:
|
|
#157
|
||||
|
||||
|
GETPIVOTDATA?!?!?!?!
EEEEUUUUURAAAAAAAAAAAAAAAAAAAGH PEW! PEW! You had better believe that one is showing up in a future CompAct. |
|
#158
|
||||
|
||||
|
Oh, and thanks for all these examples, guys.
The one coming out in October (at the annual meeting) doesn't have any AO content, I think - I'm featuring stuff from spreadsheet-related groups I'm a part of (after I showed them what y'all did, and asked for more horrid formulas...they delivered.) |
|
#159
|
|||
|
|||
|
Quote:
As long as you aren't changing the data, row, and column information, why isn't it useful? |
|
#160
|
||||
|
||||
|
Quote:
The whole =point= of pivot tables is easy-to-change slice-and-dice of data. Their inherent nature involves change. Now, it's possible that you've created groupings or calculated fields in the pivot table that it's not easy to do sumif/countif on the underlying data, but in general it's better to do that sumif/countif. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|