Survey data to capture full month

Oredo

New Member
Joined
Jan 15, 2018
Messages
14
Hello everyone,
I'm abit in a pickle and would be grateful for some help.
My data:
[TABLE="width: 300"]
<tbody>[TR]
[TD]Issued
[/TD]
[TD]Answered
[/TD]
[TD]Result
[/TD]
[/TR]
[TR]
[TD]

<colgroup><col width="102"></colgroup><tbody>
[TD="width: 102, align: right"]

<colgroup><col style="mso-width-source:userset;mso-width-alt:3730;width:77pt" width="102"> </colgroup><tbody>
[TD="width: 102, align: right"]31/05/2019
[/TD]

[TD="align: right"]31/05/2019
[/TD]

[TD="align: right"]07/06/2019
[/TD]

[TD="align: right"]28/06/2019
[/TD]

[TD="align: right"]28/06/2019
[/TD]

</tbody>
[/TD]

</tbody>
[/TD]
[TD]

<colgroup><col style="mso-width-source:userset;mso-width-alt:3510;width:72pt" width="96"> </colgroup><tbody>
[TD="width: 96, align: right"]31/05/2019[/TD]

[TD="align: right"]01/06/2019[/TD]

[TD="align: right"]07/06/2019[/TD]

[TD="align: right"]30/06/2019[/TD]

[TD="align: right"]01/07/2019[/TD]

</tbody>
[/TD]
[TD]

<colgroup><col style="mso-width-source:userset;mso-width-alt:2742;width:56pt" width="75"> </colgroup><tbody>
[TD="width: 75, align: right"]0
[/TD]

[TD="align: right"]1[/TD]

[TD="align: right"]1[/TD]

[TD="align: right"]1[/TD]

[TD="align: right"]0
[/TD]

</tbody>
[/TD]
[/TR]
</tbody>[/TABLE]
So i got survey coming out only on weekdays (issued), but responses might come out on weekends (answered). I would like to have "Result" column as formula to capture results only for "June". My attempts : =IF([@Answered]< MAX([Issued],1,0) wont reach last day of the June, and just comparing months wont capture anything sent month before.
Is there better approach to this to really capture all dates to the end of the month, when last days of the month (from 28 to 31st) are weekends?<max([issued] wont="" reach="" last="" day="" of="" the="" june,="" and="" just="" comparing="" months="" capture="" anything="" sent="" month="" before.

</max([issued]>
 
Last edited:

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi,

If i've understood your request correctly, you would like the result field to show '1' if either
- The survey was isused in June
- The surver was responded to in june (regardless of when it was issued)

ABC
IssuedAnsweredResult

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]31/05/2019[/TD]
[TD="align: right"]31/05/2019[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]31/05/2019[/TD]
[TD="align: right"]01/06/2019[/TD]
[TD="align: right"]1[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]07/06/2019[/TD]
[TD="align: right"]07/06/2019[/TD]
[TD="align: right"]1[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]28/06/2019[/TD]
[TD="align: right"]30/06/2019[/TD]
[TD="align: right"]1[/TD]

[TD="align: center"]6[/TD]
[TD="align: right"]28/06/2019[/TD]
[TD="align: right"]01/07/2019[/TD]
[TD="align: right"]1[/TD]

</tbody>
Sheet1

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C2[/TH]
[TD="align: left"]=IF(OR(MONTH(A2)=6,MONTH(B2)=6),1,0)[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C3[/TH]
[TD="align: left"]=IF(OR(MONTH(A3)=6,MONTH(B3)=6),1,0)[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C4[/TH]
[TD="align: left"]=IF(OR(MONTH(A4)=6,MONTH(B4)=6),1,0)[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C5[/TH]
[TD="align: left"]=IF(OR(MONTH(A5)=6,MONTH(B5)=6),1,0)[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C6[/TH]
[TD="align: left"]=IF(OR(MONTH(A6)=6,MONTH(B6)=6),1,0)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]


Let me know if this formula does what you want
Cheers

Caleeco
 
Upvote 0
I would like to have "Result" column as formula to capture results only for "June". <max([issued] wont="" reach="" last="" day="" of="" the="" june,="" and="" just="" comparing="" months="" capture="" anything="" sent="" month="" before.

</max([issued]>


You just need to check the "Answered" date, so it could be:


<table border="1" cellspacing="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:105.5px;" /><col style="width:126.42px;" /><col style="width:76.04px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Issued</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Answered</td><td style="background-color:#ffff00; font-weight:bold; text-align:center; ">Result</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="text-align:right; ">31/05/2019</td><td style="text-align:right; ">31/05/2019</td><td style="text-align:right; ">0</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="text-align:right; ">31/05/2019</td><td style="text-align:right; ">01/06/2019</td><td style="text-align:right; ">1</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="text-align:right; ">07/06/2019</td><td style="text-align:right; ">07/06/2019</td><td style="text-align:right; ">1</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="text-align:right; ">28/06/2019</td><td style="text-align:right; ">30/06/2019</td><td style="text-align:right; ">1</td></tr><tr style="height:19px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="text-align:right; ">28/06/2019</td><td style="text-align:right; ">01/07/2019</td><td style="text-align:right; ">0</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></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 >C2</td><td >=IF(MONTH(B2)=6,1,0)</td></tr></table></td></tr></table>
 
Upvote 0
open

another edit, does not want to insert real code not sure what i;m doing wrong, 1 sec let me get picture up<roundup(max([issued]),0),1,if([@answered]></roundup(max([issued]),0),1,if([@answered]><roundup(max([issued],0)1,if([@answered]><roundup(max([issued]),0),1,< html=""></roundup(max([issued]),0),1,<></roundup(max([issued],0)1,if([@answered]>
 
Last edited:
Upvote 0
I did not understand.
Did any option work for you?

You could upload a copy of your file to a free site such www.dropbox.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. If the workbook contains confidential information, you could replace it with generic data.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
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