Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Formula printing in cell

Hi all,
I am trying to copy a complete row of data to another sheet when it meets
the criteria:

Source data is in sheet: Master, cols A to AU,
data from row 2 down, with key col X & criteria value: Closed

On new sheet: Closed
Placed in A2:
=IF(Master!X2="","",IF(OR(Master!X2=€¯Closed€¯), ROW(),""))
Left A1 blank for header row

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(x!A:A,SMALL($ A:$A,ROWS($1:1))))

When I type these formulas in the function box they also show in the
respective cell.
Why? Any help appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Formula printing in cell

Are the cells formatted as Text?
Not sure about that OR with only one condition?
The formulas work for me
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Doehead" wrote in message
...
Hi all,
I am trying to copy a complete row of data to another sheet when it meets
the criteria:

Source data is in sheet: Master, cols A to AU,
data from row 2 down, with key col X & criteria value: Closed

On new sheet: Closed
Placed in A2:
=IF(Master!X2="","",IF(OR(Master!X2="Closed"),ROW( ),""))
Left A1 blank for header row

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(x!A:A,SMALL($ A:$A,ROWS($1:1))))

When I type these formulas in the function box they also show in the
respective cell.
Why? Any help appreciated!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Formula printing in cell

Doehead,

1) You may have formatted the cells for text prior to entering the forumula:
Change the formatting to General, select the cell, press F2, and the press
Enter to re-enter the formulas.

2) Tools / Options... "View" Tab, un-check "Formulas"

HTH,
Bernie
MS Excel MVP


"Doehead" wrote in message
...
Hi all,
I am trying to copy a complete row of data to another sheet when it meets
the criteria:

Source data is in sheet: Master, cols A to AU,
data from row 2 down, with key col X & criteria value: Closed

On new sheet: Closed
Placed in A2:
=IF(Master!X2="","",IF(OR(Master!X2="Closed"),ROW( ),""))
Left A1 blank for header row

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(x!A:A,SMALL($ A:$A,ROWS($1:1))))

When I type these formulas in the function box they also show in the
respective cell.
Why? Any help appreciated!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Formula printing in cell

Thank you both, that was the problem. So recreated for a fresh start and then
copied down formulas for 10 rows. Why do I see #NUM! in the cells on the
Closed sheet where there should be no data?. Hope this makes sense. Doehead

"Bernie Deitrick" wrote:

Doehead,

1) You may have formatted the cells for text prior to entering the forumula:
Change the formatting to General, select the cell, press F2, and the press
Enter to re-enter the formulas.

2) Tools / Options... "View" Tab, un-check "Formulas"

HTH,
Bernie
MS Excel MVP


"Doehead" wrote in message
...
Hi all,
I am trying to copy a complete row of data to another sheet when it meets
the criteria:

Source data is in sheet: Master, cols A to AU,
data from row 2 down, with key col X & criteria value: Closed

On new sheet: Closed
Placed in A2:
=IF(Master!X2="","",IF(OR(Master!X2="Closed"),ROW( ),""))
Left A1 blank for header row

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(x!A:A,SMALL($ A:$A,ROWS($1:1))))

When I type these formulas in the function box they also show in the
respective cell.
Why? Any help appreciated!




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula printing in cell

The formulas work but I would tweak them.

No need for the OR function:

=IF(Master!X2="","",IF(Master!X2="Closed",ROW(),"" ))

=IF(ROWS(B$2:B2)COUNT($A:$A),"",INDEX(x!A:A,SMALL ($A:$A,ROWS(B$2:B2))))

In the INDEX function, are you sure you're referencing the correct sheet:
x!A:A ?

--
Biff
Microsoft Excel MVP


"Doehead" wrote in message
...
Thank you both, that was the problem. So recreated for a fresh start and
then
copied down formulas for 10 rows. Why do I see #NUM! in the cells on the
Closed sheet where there should be no data?. Hope this makes sense.
Doehead

"Bernie Deitrick" wrote:

Doehead,

1) You may have formatted the cells for text prior to entering the
forumula:
Change the formatting to General, select the cell, press F2, and the
press
Enter to re-enter the formulas.

2) Tools / Options... "View" Tab, un-check "Formulas"

HTH,
Bernie
MS Excel MVP


"Doehead" wrote in message
...
Hi all,
I am trying to copy a complete row of data to another sheet when it
meets
the criteria:

Source data is in sheet: Master, cols A to AU,
data from row 2 down, with key col X & criteria value: Closed

On new sheet: Closed
Placed in A2:
=IF(Master!X2="","",IF(OR(Master!X2="Closed"),ROW( ),""))
Left A1 blank for header row

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(x!A:A,SMALL($ A:$A,ROWS($1:1))))

When I type these formulas in the function box they also show in the
respective cell.
Why? Any help appreciated!








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Formula printing in cell

Excellent, thanks T works beautifully with no #NUM! showing in blank cells.
Have a great day!!

"T. Valko" wrote:

The formulas work but I would tweak them.

No need for the OR function:

=IF(Master!X2="","",IF(Master!X2="Closed",ROW(),"" ))

=IF(ROWS(B$2:B2)COUNT($A:$A),"",INDEX(x!A:A,SMALL ($A:$A,ROWS(B$2:B2))))

In the INDEX function, are you sure you're referencing the correct sheet:
x!A:A ?

--
Biff
Microsoft Excel MVP


"Doehead" wrote in message
...
Thank you both, that was the problem. So recreated for a fresh start and
then
copied down formulas for 10 rows. Why do I see #NUM! in the cells on the
Closed sheet where there should be no data?. Hope this makes sense.
Doehead

"Bernie Deitrick" wrote:

Doehead,

1) You may have formatted the cells for text prior to entering the
forumula:
Change the formatting to General, select the cell, press F2, and the
press
Enter to re-enter the formulas.

2) Tools / Options... "View" Tab, un-check "Formulas"

HTH,
Bernie
MS Excel MVP


"Doehead" wrote in message
...
Hi all,
I am trying to copy a complete row of data to another sheet when it
meets
the criteria:

Source data is in sheet: Master, cols A to AU,
data from row 2 down, with key col X & criteria value: Closed

On new sheet: Closed
Placed in A2:
=IF(Master!X2="","",IF(OR(Master!X2="Closed"),ROW( ),""))
Left A1 blank for header row

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(x!A:A,SMALL($ A:$A,ROWS($1:1))))

When I type these formulas in the function box they also show in the
respective cell.
Why? Any help appreciated!






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula printing in cell

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Doehead" wrote in message
...
Excellent, thanks T works beautifully with no #NUM! showing in blank
cells.
Have a great day!!

"T. Valko" wrote:

The formulas work but I would tweak them.

No need for the OR function:

=IF(Master!X2="","",IF(Master!X2="Closed",ROW(),"" ))

=IF(ROWS(B$2:B2)COUNT($A:$A),"",INDEX(x!A:A,SMALL ($A:$A,ROWS(B$2:B2))))

In the INDEX function, are you sure you're referencing the correct sheet:
x!A:A ?

--
Biff
Microsoft Excel MVP


"Doehead" wrote in message
...
Thank you both, that was the problem. So recreated for a fresh start
and
then
copied down formulas for 10 rows. Why do I see #NUM! in the cells on
the
Closed sheet where there should be no data?. Hope this makes sense.
Doehead

"Bernie Deitrick" wrote:

Doehead,

1) You may have formatted the cells for text prior to entering the
forumula:
Change the formatting to General, select the cell, press F2, and the
press
Enter to re-enter the formulas.

2) Tools / Options... "View" Tab, un-check "Formulas"

HTH,
Bernie
MS Excel MVP


"Doehead" wrote in message
...
Hi all,
I am trying to copy a complete row of data to another sheet when it
meets
the criteria:

Source data is in sheet: Master, cols A to AU,
data from row 2 down, with key col X & criteria value: Closed

On new sheet: Closed
Placed in A2:
=IF(Master!X2="","",IF(OR(Master!X2="Closed"),ROW( ),""))
Left A1 blank for header row

In B2:
=IF(ROWS($1:1)COUNT($A:$A),"",INDEX(x!A:A,SMALL($ A:$A,ROWS($1:1))))

When I type these formulas in the function box they also show in the
respective cell.
Why? Any help appreciated!








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
Printing cell name trendy1 Excel Discussion (Misc queries) 2 May 10th 07 11:23 PM
Printing with formula Claudio Excel Worksheet Functions 3 June 22nd 06 01:21 AM
I want to change comment printing cell 3 to whats in cell 3 Lonny and Rinda Excel Worksheet Functions 3 June 19th 06 08:36 PM
Excel formula printing canuck Excel Discussion (Misc queries) 3 July 25th 05 03:13 AM
Printing a formula TNMAN Excel Worksheet Functions 2 January 6th 05 09:06 PM


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