<pstyle="text-indent: 50px;"><b><em>serial-value</em></b> is a number representing the date of the day you are trying to find, entered using the <ahref="Date.htm"onclick="onhyperlinkclick(this)">Date</a> function or other date and time function.</p>
<pstyle="text-indent: 50px;"><b><em>weekday-start-flag</em></b> is a numeric value used to determine the type of the value to be returned. It can be one of the following:</p>
<tablestyle="width: 40%">
<tr>
<td><b>Numeric value</b></td>
<td><b>Explanation</b></td>
</tr>
<tr>
<td>1 or omitted</td>
<td>Returns a number from 1 (Sunday) to 7 (Saturday)</td>
</tr>
<tr>
<td>2</td>
<td>Returns a number from 1 (Monday) to 7 (Sunday).</td>
</tr>
<tr>
<td>3</td>
<td>Returns a number from 0 (Monday) to 6 (Sunday).</td>
</tr>
</table>
<ol>
<li>select the cell where you wish to display the result,</li>