# Formula Problem

#### ccameron

##### Board Regular
Just wondering if anyone can tell me how to fix this formula, I have several sheets and what I have done is put a formula in Project Name, Project Overseer and Date so that when someone uses it they dont have to enter these 3 things in every sheet, I have gone into all the sheets except the first one and put in the cells these formulas. It works but when there is nothing on the first sheet the first two show a 0 and the date shows 1/1/1900 I would like them to be blank if there is nothing on the first page; can someone help please?

='Job Costing'!C6:H6 Project Name
='Job Costing'!C8:E8 Project Overseer
='Job Costing'!G8:H8 Date

### Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

#### wilcowoods

##### Active Member
I'd use an if construction:

=IF('Job Costing'!G8:H8<=0, "", 'Job Costing'!G8:H8)

#### ccameron

##### Board Regular
Thanks for that it works well,

##### MrExcel MVP
Thanks for that it works well,

That cannot work... It should be something like:

=IF(ISNUMBER('Job Costing'!G8),'Job Costing'!G8,"")

The two others...

=IF('Job Costing'!C6="","",'Job Costing'!C6)

=IF('Job Costing'!C8="","",'Job Costing'!C8)

#### wilcowoods

##### Active Member
Yeah I know the range is a bit iffy. but the formula returned the desired result with <=0 rather than =""!

Last edited:

Replies
1
Views
113
Replies
6
Views
445
Replies
5
Views
304
Replies
3
Views
166
Replies
14
Views
260

1,129,682
Messages
5,637,769
Members
416,982
Latest member
lisam77

### 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.

### Which adblocker are you using?

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

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