If statements and between dates

tQk.Sushi

New Member
Joined
Aug 26, 2011
Messages
11
How would I do something like this in a single cell.

If between 9/7/11 and 9/25/11 then...
If between 9/25/11 and 10/11/11 then...

The idea is that if a participant register between 9/7/11 and 9/25/11 they only have a registration fee of $10 but if they register between 9/25/11 and 10/11/11 then they have a registration fee of $20.

Any idea?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Not sure if this is what you are .

Excel Workbook
ABCDEFG
1Fees*STARTFINISHPlayerRegisteration dateFee Payable
2$10Early07-09-1125-09-11115-09-11$10
3$20Late26-09-1110-11-11208-11-11$20
Sheet1


My format is set up as dd/mm/yy



Pedro
 
Upvote 0
How would I do something like this in a single cell.

If between 9/7/11 and 9/25/11 then...
If between 9/25/11 and 10/11/11 then...

The idea is that if a participant register between 9/7/11 and 9/25/11 they only have a registration fee of $10 but if they register between 9/25/11 and 10/11/11 then they have a registration fee of $20.

Any idea?
Maybe something like this...

A1 = some date

=IF(A1<=DATE(2011,9,25),10,IF(A1<=DATE(2011,10,11),20,""))
 
Upvote 0
Sorry about my figures which did not appear .

Formula in G2 dragged down is

=IF(F2<D2,A2,A3)

Pedro
 
Upvote 0
How did you make that mini spreadsheet?

My chart looks something like: Column A is Full Name, B is "Date of Registration", C is "Amount Paid". What I'm trying to do is to make a formula in column C that will display $10 if in Column B the date of registration is between 9/7/11 and 9/25/11 and show $20 if in Column B the date of registration is between 9/25/11 and 10/11/11.
 
Upvote 0
something strange is happening with my posts. I see the full details in preview however, only part appears when submitted.
anyway will try again.
Excel Workbook
ABCDEF
1mameregisterationamount to paySTARTFINISHRate
2Bill15-09-11$10.0007-09-1125-09-11$10
3Mary08-11-11$20.0026-09-1110-11-11$20
Sheet1



I used Excel jeanie to show spreadsheet
http://www.excel-jeanie-html.de/index.php?f=1

You will note I have added start and finish dates and amounts to sheet and used them in formula. Reason is that you will probably have different dates over time and different rates.

I only used the initial last date in formula as any rego after this would fall into next (higher) period.

In case formula does not show up in above it is
Code:
=IF(B2<=E2,F2,F3)

Pedro
 
Upvote 0
Hmm, is it possible to have those formulas in one cell?

For example, IF condition 1 is met then display $10, IF condition 2 is met then $20, IF condition 3 is met then $30 -all in one cell.

The conditions are the dates whether somebody registered during early, regular or late.
 
Upvote 0
Try this
Excel Workbook
ABCDEF
1mameregisterationamount to paySTARTFINISHRate
2Bill15-09-11$10.0007-09-1125-09-11$10
3Mary08-11-11$20.0026-09-1110-11-11$20
4jack12-11-11$30.0011-11-1131-12-11$30
Sheet1




Pedro
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,874
Members
452,949
Latest member
Dupuhini

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