ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Comparing cells written in text to cells producing text from a for (https://www.excelbanter.com/excel-programming/410088-comparing-cells-written-text-cells-producing-text.html)

David B

Comparing cells written in text to cells producing text from a for
 
Example: I hand enter Tue in A1. From a dated data entry I format cell C1 to
reflect the day of the week an action occurred, and abrv the format ie: Wed.
I need to compare A1 Tue to C1 Wed and get a true or false answer. This will
let me calculate the number of on time deliveries vrs missed.


David B

Tom Hutchins

Comparing cells written in text to cells producing text from a for
 
Try
=IF(A1=TEXT(B1,"ddd"),TRUE,FALSE)

Hope this helps,

Hutch

"David B" wrote:

Example: I hand enter Tue in A1. From a dated data entry I format cell C1 to
reflect the day of the week an action occurred, and abrv the format ie: Wed.
I need to compare A1 Tue to C1 Wed and get a true or false answer. This will
let me calculate the number of on time deliveries vrs missed.


David B



All times are GMT +1. The time now is 07:51 AM.

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