Stumped

agoodson1956

Board Regular
Joined
Sep 1, 2016
Messages
140
Column "O" has the Award Date
Column "R" has the Bid Amount

I am trying to get Column "V" to show the Bid Amount in Column "R" only if the date in Column "O" is withing this week Sunday through Saturday and blank if not within this week?

=IFERROR(IF(WEEKNUM(TODAY())-WEEKNUM(O2)>1,"Old",IF(WEEKNUM(TODAY())-WEEKNUM(O2)>0,"Old",R2)),"")

I need it to only show SUNDAY through SATURDAY of CURRENT WEEK
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
O​
[/td][td="bgcolor:#C0C0C0"]
R​
[/td][td="bgcolor:#C0C0C0"]
S​
[/td][td="bgcolor:#C0C0C0"]
T​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td][/td][td][/td][td="bgcolor:#FFFF99"]
Sat 04/07​
[/td][td="bgcolor:#FFFF99"]S1: =TODAY()[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td="bgcolor:#F3F3F3"]
Date
[/td][td="bgcolor:#F3F3F3"]
Amt
[/td][td="bgcolor:#F3F3F3"]
This Week
[/td][td="bgcolor:#F3F3F3"]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td]
Fri 03/30​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"][/td][td="bgcolor:#CCFFCC"]S3: =IF(WEEKNUM(S$1)=WEEKNUM(O3), R3, "")[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
4​
[/td][td]
Sat 03/31​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
5​
[/td][td]
Sun 04/01​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
6​
[/td][td]
Mon 04/02​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
7​
[/td][td]
Tue 04/03​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
8​
[/td][td]
Wed 04/04​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
9​
[/td][td]
Thu 04/05​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
10​
[/td][td]
Fri 04/06​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
11​
[/td][td]
Sat 04/07​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
12​
[/td][td]
Sun 04/08​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
13​
[/td][td]
Mon 04/09​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"][/td][td][/td][/tr]
[/table]
 
Upvote 0
That's not such a good solution ...

[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
O​
[/td][td="bgcolor:#C0C0C0"]
R​
[/td][td="bgcolor:#C0C0C0"]
S​
[/td][td="bgcolor:#C0C0C0"]
T​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td][/td][td][/td][td="bgcolor:#F3F3F3"]
Week Begin
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td][/td][td][/td][td="bgcolor:#FFFF99"]
Sun 04/01​
[/td][td="bgcolor:#FFFF99"]S2: =TODAY() - WEEKDAY(TODAY()) + 1[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td="bgcolor:#F3F3F3"]
Date
[/td][td="bgcolor:#F3F3F3"]
Amt
[/td][td="bgcolor:#F3F3F3"]
Amt This Week
[/td][td="bgcolor:#F3F3F3"]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
4​
[/td][td]
Fri 30 Mar 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"][/td][td="bgcolor:#CCFFCC"]S4: =IF(S$2 = O4 - WEEKDAY(O4) + 1, R4, "")[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
5​
[/td][td]
Sat 31 Mar 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
6​
[/td][td]
Sun 01 Apr 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
7​
[/td][td]
Mon 02 Apr 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
8​
[/td][td]
Tue 03 Apr 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
9​
[/td][td]
Wed 04 Apr 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
10​
[/td][td]
Thu 05 Apr 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
11​
[/td][td]
Fri 06 Apr 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
12​
[/td][td]
Sat 07 Apr 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"]
100​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
13​
[/td][td]
Sun 08 Apr 2018​
[/td][td]
100​
[/td][td="bgcolor:#CCFFCC"][/td][td][/td][/tr]
[/table]
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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