Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default Return only if same

Example :

A1 =cars B1 =(empty)
A2 =lorry B2 =lorry
A3 =tractor B3 =(empty)
A4 =lorry B4 =lorry

Column B contains a formula which will retun lorry as the result. The
formula in B1 will look something like this:
B1 =if(A1),="lorry",A1
Because A1 does not contain "lorry" then the cell will return nothing or
(empty) as shown.
B2 =if(A2),="lorry
Because A2 contains "lorry" then the cell will return "lorry" as shown.


Hope someone can help with this.
Thanks
Pat


  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

in B1 type
=IF(A1="lorry",A1,"")
and then fill down the list by putting the cursor over the bottom right hand
corner of the cell and when you see + double click

Cheers
JulieD

"Pat" wrote in message
...
Example :

A1 =cars B1 =(empty)
A2 =lorry B2 =lorry
A3 =tractor B3 =(empty)
A4 =lorry B4 =lorry

Column B contains a formula which will retun lorry as the result. The
formula in B1 will look something like this:
B1 =if(A1),="lorry",A1
Because A1 does not contain "lorry" then the cell will return nothing or
(empty) as shown.
B2 =if(A2),="lorry
Because A2 contains "lorry" then the cell will return "lorry" as shown.


Hope someone can help with this.
Thanks
Pat




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Return lowest quantity Pat Excel Worksheet Functions 2 March 8th 05 09:59 PM
RETURN intersecting value with known horizotal & vertical?? || cypher || Excel Worksheet Functions 4 February 2nd 05 09:27 PM
Formula to return cell contents based on multiple conditions Bill Excel Worksheet Functions 3 January 19th 05 09:59 AM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM
Return the smallest value Donkey Excel Worksheet Functions 2 December 24th 04 10:10 PM


All times are GMT +1. The time now is 09:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"