Needing Formula for Table IF AND OR DATE

fatcookie

New Member
Joined
Oct 23, 2014
Messages
5
I am having an issue with writing the formula for the following.

IF A equals a certain DATE of the year (for example the 1st of every month) then B is "JACK" AND IF B is "JACK" then C= 80.00

1st - Jack = 80.00
2nd - Tammy = 20.00
3rd - Lisa = 60.00
4th - Laurie = 500.00
5th - Christina = 100.00

This would have to be for the entire worksheet so anytime a date is entered B is automatically "name" (depending on date) then C is automatically the amount.

Hope that makes sense.

ABC
DateNameamount
01/01/2013Jack80.00
01/02/2013Tammy20.00
01/03/2013Lisa60.00
01/04/2013
01/05/2013
02/01/2013Jack80.00
02/02/2013Tammy20.0
02/03/2013Lisa60.00
02/04/2013Christina100.00
02/05/2013
03/01/2013Jack80.00
03/02/2013Tammy20.00
03/03/2013Lisa60.00
03/04/2013
03/05/2013
06/10/2013Laurie500.00
02/02/2014
02/03/2014
02/04/2014
02/05/2014
03/01/2014Jack80.00
03/02/2014Tammy20.00
03/03/2014Lisa60.00
03/04/2014Christina100.00
03/05/2014

<tbody>
</tbody>
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Welcome to the board.

You'll need two different formulas; one for column B and one for column C. Enter these in B2 and C2 respectively and copy down:

=IFERROR(CHOOSE(DAY(A2),"Jack","Tammy","Lisa","Laurie","Christina"),"")

=IFERROR(CHOOSE(DAY(A2),80,20,60,500,100),"")
 
Upvote 0
Welcome to the board.

You'll need two different formulas; one for column B and one for column C. Enter these in B2 and C2 respectively and copy down:

=IFERROR(CHOOSE(DAY(A2),"Jack","Tammy","Lisa","Laurie","Christina"),"")

=IFERROR(CHOOSE(DAY(A2),80,20,60,500,100),"")


The names are not also in order. For example Jack may be the 11/01/2014, 12/01/2014, 01/01/2015...etc and Tammy is 11/15/2014, 12/15/2014, 01/15/2015....They will be on the same day of the month. So its not 1 through 5 but really 1-30/31 (days of the month). Am i making it more confusing? I also have Mary that needs to be once every week.

Basically i have the days listed and i have certain names that need to go on a specific day every month and if it that day and that person then it will be a certain amount every time. Someone will be a monthly person and others will be a weekly thing...like every Monday .

Thanks for taking the time with me!

11/1/2014
11/2/2014
11/3/2014
11/4/2014
11/5/2014
11/6/2014
11/7/2014
11/8/2014
11/9/2014
11/10/2014
11/11/2014
11/12/2014
11/13/2014
11/14/2014
11/15/2014
11/16/2014
11/17/2014
11/18/2014
11/19/2014
11/20/2014
11/21/2014
11/22/2014
11/23/2014
11/24/2014
11/25/2014

<colgroup><col></colgroup><tbody>
</tbody>
 
Upvote 0
So do you have a table with 31 days and who would be assigned to which day?
 
Upvote 0
I have a table with January through December (365 days). I have a list of names and amounts that go with a specific day each month. What i don't know how to do is a formula to auto fill a persons name and amount to a specific date each month or manually enter the information each year.
 
Upvote 0
12/28/2013 8500.00
12/29/20138500.00
12/30/20138500.00
12/31/20138500.00
1/1/2014Ben698.007802.00
1/2/20147802.00
1/3/2014TRANSFER 8374.0016176.00
1/4/2014Jack1000.0015176.00
1/5/2014Tammy1000.0014176.00
1/6/2014Laurie1000.0013176.00
1/7/2014Jackie500.0012676.00
1/8/2014Carrie500.0012176.00
1/9/2014Christina500.0011676.00
1/10/2014TRANSFER 500.0012176.00
1/11/201412176.00
1/12/201412176.00
1/13/2014Mond200.0011976.00
1/14/2014Charlie200.0011776.00
1/15/2014Tabitha200.0011576.00
1/16/201411576.00
1/17/2014TRANSFER 5412.0016988.00
1/18/201416988.00
1/19/201416988.00
1/20/2014Betty658.0016330.00
1/21/201416330.00
1/22/201416330.00
1/23/201416330.00
1/24/2014TRANSFER 491.0016821.00
1/25/2014Brian350.0016471.00
1/26/2014Casey1250.0015221.00
1/27/201415221.00
1/28/201415221.00
1/29/201415221.00
1/30/201415221.00
1/31/2014TRANSFER 1483.0016704.00
2/1/2014Ben698.0016006.00
2/2/201416006.00
2/3/201416006.00
2/4/2014Jack1000.0015006.00
2/5/2014Tammy1000.0014006.00
2/6/2014Laurie1000.0013006.00
2/7/2014Jackie500.0012506.00
2/7/2014TRANSFER 5081.0017587.00
2/8/2014Carrie500.0012006.00
2/9/2014Christina500.0011506.00
2/10/201411506.00
2/11/201411506.00
2/12/201411506.00
2/13/2014Mond200.0011306.00
2/14/2014Charlie200.0011106.00
2/14/2014TRANSFER 1608.1512914.15
2/15/2014Tabitha200.0012714.15
2/16/201412714.15
2/17/201412714.15
2/18/201412714.15
2/19/201412714.15
2/20/2014Betty658.0012056.15
2/21/2014TRANSFER 491.0012547.15
2/22/201412547.15
2/23/201412547.15
2/24/201412547.15
2/25/201412547.15
2/26/2014Brian350.0012197.15
2/27/2014Casey1250.0010947.15
2/28/2014TRANSFER 8500.0019447.15
3/1/2014Ben698.0018749.15
3/2/201418749.15
3/3/201418749.15
3/4/2014Jack1000.0017749.15
3/5/2014Tammy1000.0016749.15
3/6/2014Laurie1000.0015749.15
3/7/2014Jackie500.00500.0015749.15
3/8/2014Carrie500.0015249.15
3/9/2014Christina15249.15
3/10/201415249.15
3/11/201415249.15
3/12/201415249.15
3/13/2014Mond200.0015049.15
3/14/2014TRANSFER 500.0015549.15

<colgroup><col><col><col><col span="2"></colgroup><tbody>
</tbody>


The people will almost always have the same amount one the same day per month. The TRANSFER is a weekly transaction every Friday.
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,825
Members
449,470
Latest member
Subhash Chand

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top