Numbers Fill between the dates right amount weekly or monthly


Hi Guys



Im Looking for some help

Im trying to make a formula Where from Table 1 between the dates from column B to C

Will automatically fill up amount ( from Table 1 column E ) to the Table 2 , 3 between those dates

I would to have a option fill up weekly or monthly

Any advice please ?


That's my formula but seems like I do something wrong because doesn't show up anything in Table 2,3


IFERROR(

INDEX(Table 1::E, MATCH(TRUE,

(A2 ≥ Table 1::B2:B5) *

(A2 ≤ Table 1::C2:C5) *

(

(Table 1::D2:D5 = "Weekly") +

((Table 1::D2:D5 = "Monthly") * (A2 = Table 1::B2:B5))

),

0)

),

"")



Photo shows what's I mean


Greatfull for some advice











MacBook Air 15″, macOS 15.5

Posted on May 26, 2025 7:29 AM

Reply
4 replies

May 26, 2025 9:15 AM in response to JohnyyBrov

Not a simple problem.


For the weekly schedule you can try something like this:




In B2:


= MAKEARRAY(ROWS(A2#),1,LAMBDA(i,j,Table 1::E4))




For a monthly schedule something like this:



In B2:


=MAKEARRAY(ROWS(A2#),1,LAMBDA(i,j,Table 1::E5))


Then perform an XLOOKUP on these individual schedules to insert in a full "calendar" table if needed.


SG



May 27, 2025 5:23 AM in response to JohnyyBrov


I try create another formula IF


=IF(AND(Table 2::A2 >= Table 1::B2, Table 2::A2 <= Table 1::C2), IF(Table 1::E2 = "Weekly", Table 1::D2 / 7, Table 1::D2 / 30),

IF(AND(Table 2::A2 >= Table 1::B3, Table 2::A2 <= Table 1::C3), IF(Table 1::E3 = "Weekly", Table 1::D3 / 7, Table 1::D3 / 30),

IF(AND(Table 2::A2 >= Table 1::B4, Table 2::A2 <= Table 1::C4), IF(Table 1::E4 = "Weekly", Table 1::D4 / 7, Table 1::D4 / 30),

IF(AND(Table 2::A2 >= Table 1::B5, Table 2::A2 <= Table 1::C5), IF(Table 1::E5 = "Weekly", Table 1::D5 / 7, Table 1::D5 / 30),

""))))


But seems still doing something wrong .. hmmmm. ?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Numbers Fill between the dates right amount weekly or monthly

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.