ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦³¼h¦¸ªº¾P°âª÷ÃB¤Î°h³fª÷ÃB¤§¤½¦¡¡A­n¦p¦ó³]©w

[µo°Ý] ¦³¼h¦¸ªº¾P°âª÷ÃB¤Î°h³fª÷ÃB¤§¤½¦¡¡A­n¦p¦ó³]©w

±ø¥ó1¡G¦pªG¶R¶i1¦Ü12­Ó¡A1­Ó1080¤¸
±ø¥ó2¡G¦pªG¦A¶R¶i²Ä13¦Ü40­Ó¡A1­Ó970¤¸
±ø¥ó3¡G¦pªG¦A¶R¶i41­Ó¥H¤W¡A1­Ó700¤¸
±ø¥ó4¡G¦pªG¦³°h³f®É¡A¥Î«á¶i¥ý¥Xªk¡A­pºâ°h³fª÷ÃB¡C

¨Ò¦p1¡GA«È¤áÁ`¦@¶R¶i43­Ó(A1)¡A¥I¥X12*1080+(40-12)*970+(43-40)*700¡×42220¤¸(B1)
¨Ò¦p2¡GA«È¤á«á¨Ó°h¤F5­Ó(A2)¡A°h³fª÷ÃB3*700+2*970¡×4040¤¸(B2)
½Ð°Ý¦p¦ó¤U¾P°âª÷ÃB(B1)¤Î°h³fª÷ÃB(B2)¤§¤½¦¡
julie

¥»©«³Ì«á¥Ñ Hsieh ©ó 2013-2-26 16:30 ½s¿è

¦^´_ 12# handmuch
¯Å¶Zªíªº¤è¦¡¨Ó¼g¤½¦¡¡A¥»¨Ò°â¥XÁ`»ù¥i¨Ï¥ÎLOOKUP¨ç¼Æ©Î³\§ó®e©ö²z¸Ñ
B1=IF(A1>0,SUMPRODUCT(LOOKUP(ROW(INDIRECT("A1:A"&A1)),{0,13,41},{1080,970,700})*1),"")
B2°}¦C¤½¦¡
=IF((A2>0)*(A2<=A1),SUM(SMALL(LOOKUP(ROW(INDIRECT("A1:A"&A1)),{0,13,41},{1080,970,700}),ROW(INDIRECT("A1:A"&A2)))),"")
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 1# julieh96590


   ¸òºî©Òµ|ªº²Ö¶i½Òµ|¦³ÂI¹³!  ¥u¬O­n¥t§@°Ñ¦Òªí®æ!

TOP

¥»©«³Ì«á¥Ñ Bodhidharma ©ó 2013-2-25 23:04 ½s¿è

¦^´_ 2# julieh96590

¨Ì§AªºÅÞ¿è¡A¥i¥H¥Îchoose°tmatch¨Ó¼g
=CHOOSE(MATCH(A1,{0,13,41}),A1*1080,(A1-12)*970+12960,(A1-40)*700+40120)

TOP

¦^´_ 9# julieh96590

¾P³fª÷ÃB(a1)=¾P³fª÷ÃB(a1-a2)+°h³fª÷ÃB
©Ò¥H
°h³fª÷ÃB=¾P³fª÷ÃB(a1)-¾P³fª÷ÃB(a1-a2)=
SUMPRODUCT({1080,970,700},TRANSPOSE(FREQUENCY(ROW(INDIRECT("A1:A"&A1)),{12,40})))-SUMPRODUCT({1080,970,700},TRANSPOSE(FREQUENCY(ROW(INDIRECT("A1:A"&(A1-A2))),{12,40})))

TOP

ÁÂÁª©¥D¡Aok¤F¡A¦ý¨ç¼Æ§Ú¥i¯àÁÙ­n®ø¤Æ¤@¤U¡A¤~·|À´¡A
julie

TOP

B2°}¦C¤½¦¡
=SUM(SMALL(IF(ROW(INDIRECT("A1:A"&A1))<13,1080,IF((ROW(INDIRECT("A1:A"&A1))>12)*(ROW(INDIRECT("A1:A"&A1))<41),970,700)),ROW(INDIRECT("A1:A"&A2))))
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦A·PÁ¼ӤWª©¥D¸Ñµª¡A¦ý¬O¦pªG¾P°â¼Æ¶q§C©ó16¡B°h³fª÷ÃB¬°5­Ó(4­Ó*970+1­Ó*1080=4960)®É¡Aµª®×´N¤£¾A¥Î¤F¡A¥i§_¦A³Â·Ð±z¡C
julie

TOP

¦^´_ 5# julieh96590
B2=SUM(MAX(0,MIN(A2,(A1-40)))*700,MIN(28,(A2-MAX(0,MIN(A2,(A1-40)))))*970,MAX(0,12-(A1-A2))*1080)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¸É¥R»¡©ú¡G¾P°â¼Æ¶q§C©ó40¡A¥u¦³°h³fª÷ÃBµª®×¤£¾A¥Î¤F¡A¾P°âª÷ÃBµª®×¬Ook
julie

TOP

        ÀR«ä¦Û¦b : ¤@¥y·Å·xªº¸Ü¡A´N¹³©¹§O¤H¨­¤WÅx­»¤ô¡A¦Û¤v·|ªg¨ì¨â¤Tºw¡C
ªð¦^¦Cªí ¤W¤@¥DÃD