Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sharen
 
Posts: n/a
Default Do I need a formula or Macro?

I want to create a formula or a Macro that will do the following: Look in
cell F2, if it's blank, look one cell to the right, if it contains a value,
copy the value in F1 into J2 followed by the data in F2
  #2   Report Post  
CLR
 
Posts: n/a
Default

Put this in J2

=IF(AND(F2="",G2<""),F1&F2,"ConditionNotSpecified ")

Of course, if the formula works, then it is because there is nothing in F2
to copy to J2...........

Vaya con Dios,
Chuck, CABGx3


"Sharen" wrote in message
...
I want to create a formula or a Macro that will do the following: Look in
cell F2, if it's blank, look one cell to the right, if it contains a

value,
copy the value in F1 into J2 followed by the data in F2



  #3   Report Post  
Anne Troy
 
Posts: n/a
Default

Try this formula in J2, Sharen:

=if(isblank(F2),G2,F1&" "&F2)

*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Sharen" wrote in message
...
I want to create a formula or a Macro that will do the following: Look in
cell F2, if it's blank, look one cell to the right, if it contains a

value,
copy the value in F1 into J2 followed by the data in F2



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
Help on Macro or Formula Nigel Excel Discussion (Misc queries) 2 June 13th 05 01:27 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Insert macro into formula Paul Excel Worksheet Functions 1 May 12th 05 08:25 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
Fill Formula - Macro Cathy U Excel Discussion (Misc queries) 2 February 22nd 05 04:48 PM


All times are GMT +1. The time now is 06:16 AM.

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

About Us

"It's about Microsoft Excel"