ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help please with formula (https://www.excelbanter.com/excel-worksheet-functions/90597-help-please-formula.html)

S S

Help please with formula
 
This is the formula I am using...

=CHOOSE(MATCH(D7,{0;5;7;9},1),"",150,200,"")

A set of dates are entered 1st july to 15 July (dates before this would be
£150)

It should return in say A1 £200
It should return in sat A2 £200

In A1 I am getting #N/A

Can anyone spot the error as I dont understand it.



Bob Phillips

Help please with formula
 
Date in D7 I assume?

there is nothing in the formula to compare a date, so it will always return
4 from MATCH, which will get "" from the list.

Where did you get this from?

--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

"S S" wrote in message
.uk...
This is the formula I am using...

=CHOOSE(MATCH(D7,{0;5;7;9},1),"",150,200,"")

A set of dates are entered 1st july to 15 July (dates before this would

be
£150)

It should return in say A1 £200
It should return in sat A2 £200

In A1 I am getting #N/A

Can anyone spot the error as I dont understand it.






All times are GMT +1. The time now is 07:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com