Hide Zero Values and #N/A

Unexpc

Active Member
Joined
Nov 12, 2020
Messages
496
Office Version
  1. 2019
Platform
  1. Windows
Hi guys
i have two cell that i want be hidden when is empty
one cell is linked to a sheet that is formula
=Sheet!A1
and another cell show #N/A when function of this formula have not number in range =IF(MOD(ROW()-6,34)=0,"",IF(MOD(ROW()-7,34)=0,"",LOOKUP(2,1/(ISNUMBER(A:A)),A:A)))
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Do you mean something like this?

Excel Formula:
=if(Sheet!A1="","",Sheet!A1)
Excel Formula:
=Iferror(IF(MOD(ROW()-6,34)=0,"",IF(MOD(ROW()-7,34)=0,"",LOOKUP(2,1/(ISNUMBER(A:A)),A:A))),"")
 
Upvote 0
Hi,

May be these?

Excel Formula:
=IF(Sheet!A1="","",Sheet!A1)

Excel Formula:
=IFERROR(IF(MOD(ROW()-6,34)=0,"",IF(MOD(ROW()-7,34)=0,"",LOOKUP(2,1/(ISNUMBER(A:A)),A:A))),"")
 
Upvote 0
Do you mean something like this?

Excel Formula:
=if(Sheet!A1="","",Sheet!A1)
Excel Formula:
=Iferror(IF(MOD(ROW()-6,34)=0,"",IF(MOD(ROW()-7,34)=0,"",LOOKUP(2,1/(ISNUMBER(A:A)),A:A))),"")
Tupe77,jtakw Thank You, that is thing i want
 
Upvote 0
A little shorter:

=IFERROR(IF(MOD(ROW()-6,34)<=1,"",LOOKUP(10^35,A:A)),"")
 
Upvote 0

Forum statistics

Threads
1,215,483
Messages
6,125,064
Members
449,206
Latest member
Healthydogs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top