Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default need help on pasting link if certain cells blank

I have the following formula that copy and pastes if there in data in
cells af2 or bl2.

=if(or(sheet1!AF2="", sheet1!BL2=""), "", sheet1!C2)

Im trying to amend it so it uses different columns.

Im using sheet no 2 get the data from and sheet no 4 to paste to. I
have the following but when i input all the data including data in
either rows af or bl it wont let me do it.

This is wot ive got. can someone confirm its correct.

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!c4)

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!D4)

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!E4)

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!AF4)

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!bl4)

Donno if it makes any difference im actually starting it in row no 1
rather than 2 in the workbook im copying to.

Ive started with no4 in sheet 2 as thats the first line I wanna get the
data from.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default need help on pasting link if certain cells blank

The formulas appear syntactically correct.

--
Regards,
Tom Ogilvy


" wrote:

I have the following formula that copy and pastes if there in data in
cells af2 or bl2.

=if(or(sheet1!AF2="", sheet1!BL2=""), "", sheet1!C2)

Im trying to amend it so it uses different columns.

Im using sheet no 2 get the data from and sheet no 4 to paste to. I
have the following but when i input all the data including data in
either rows af or bl it wont let me do it.

This is wot ive got. can someone confirm its correct.

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!c4)

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!D4)

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!E4)

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!AF4)

=IF(OR(Sheet2!AF4="", Sheet2!BL4=""), "", Sheet2!bl4)

Donno if it makes any difference im actually starting it in row no 1
rather than 2 in the workbook im copying to.

Ive started with no4 in sheet 2 as thats the first line I wanna get the
data from.


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
Rephrased - Remove blank cells - no sorting, copy or pasting Luke Excel Worksheet Functions 8 May 19th 08 10:36 AM
putting a (.) period in blank cells when pasting data nospam Excel Worksheet Functions 8 December 19th 06 01:20 AM
Pasting on Filtered Data Sheets without pasting onto hidden cells CCSMCA Excel Discussion (Misc queries) 1 August 28th 05 01:22 PM
how eliminate zeros in blank cells using paste link sea kayaker Excel Worksheet Functions 2 April 16th 05 10:19 PM
Copying and pasting a worksheet to a blank and removing blank rows Bob Reynolds[_3_] Excel Programming 0 June 24th 04 02:55 PM


All times are GMT +1. The time now is 01:21 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"