View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eduardo Eduardo is offline
external usenet poster
 
Posts: 2,276
Default IF statement help please

Hi,
I assume that product is in column B,

=if(B1<"Bus", "No bus on invoice","Bus on invoice")

"nebula" wrote:

I have data in the following form and I need a formula to produce the
contents of the Formula result column.

Invoice Product Value Formula result
1 car 10 No bus on invoice
1 car 10 No bus on invoice
1 bike 5 No bus on invoice
1 boat 15 No bus on invoice
1 train 50 No bus on invoice
2 bike 5 No bus on invoice
2 bike 5 No bus on invoice
2 boat 15 No bus on invoice
2 train 50 No bus on invoice
2 train 50 No bus on invoice
2 car 10 No bus on invoice
3 car 10 Bus on invoice
3 bus 25 Bus on invoice
3 tractor 20 Bus on invoice

Your help would be very much appreciated.