Help with Excel Formula

luisitocarrion1900

Board Regular
Joined
Oct 30, 2017
Messages
194
Office Version
  1. 365
Platform
  1. Windows
Last edited by a moderator:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
What am trying to do is to put a formula under the tittle Column1 that if the date under the header named date in sheet Raw data matches the date under calculation D2 or is withing the 7 days put the words true if not the words false
 
Upvote 0
I am unable to reproduce your problem.
My dates are in d/m/y format but that shouldn't be an issue. In D2 of Calculation I have the date 23/10/2019

I was able to enter your formula into the formula bar after selecting cell K2 and the formula, as expected, auto-filled to the other table rows once I pressed Enter.

<b>Raw Data</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Arial,Arial; font-size:8pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:114px;" /><col style="width:81px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >K</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="background-color:#99ccff; font-size:10pt; ">Date</td><td style="background-color:#99ccff; font-size:10pt; ">Column1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">31/10/2019 9:12</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">FALSE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td style="font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td style="font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >12</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >13</td><td style="font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="font-size:10pt; text-align:right; ">TRUE</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >14</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">28/10/2019 9:12</td><td style="background-color:#969696; font-size:10pt; text-align:right; ">TRUE</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >K2</td><td >=AND([@Date]>=Calculation!$D$2,[@Date]<Calculation!$D$2+7)</td></tr></table></td></tr></table>
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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