Notifications
Clear all

Excel Cut Sheets

8 Posts
7 Users
0 Reactions
1 Views
(@plumb-bill)
Posts: 1597
Registered
Topic starter
 

I have never used Excel very much, but I was making a spreadsheet for cutsheets and have a question.

I am using the formula =IF((A3-B3>0),A3-B3,"") for the cut column
& the formula =IF((A3-B3<0),ABS(A3-B3),"") for the fill column

Where A3 equals hub elevation and B3 equals finished grade.

The problem is that the fill column displays the finished grade when the hub column is empty (because a blank cell equals zero). Does anyone know of a way to embed another if formula to keep this from happening?

thanks

 
Posted : October 6, 2010 2:39 pm
(@mark-mayer)
Posts: 3363
Registered
 

Radar posted a cut sheet on the "other board" that does just that. Look under the "files" tab.

 
Posted : October 6, 2010 2:50 pm
(@gunter-chain)
Posts: 458
Registered
 

You can do multiple IFs - one to first test the value, and if it's non blank, then the second IF for the formula.

 
Posted : October 6, 2010 3:35 pm
(@dougie)
Posts: 7889
Registered
 

I tried to post the code and got an error....

Send me an email and I'll send you my cut sheet.

Or you can go to the other board and download it there.

Radar

 
Posted : October 6, 2010 4:29 pm
(@ontarget)
Posts: 169
 

email me and send you mine. Works great

 
Posted : October 6, 2010 5:36 pm
(@mojavegreen)
Posts: 22
Registered
 

i can email you what i have if you want it.

 
Posted : October 6, 2010 7:22 pm
(@eapls2708)
Posts: 1862
Registered
 

> I have never used Excel very much, but I was making a spreadsheet for cutsheets and have a question.
>
> I am using the formula =IF((A3-B3>0),A3-B3,"") for the cut column
> & the formula =IF((A3-B3<0),ABS(A3-B3),"") for the fill column
>
> Where A3 equals hub elevation and B3 equals finished grade.
>
> The problem is that the fill column displays the finished grade when the hub column is empty (because a blank cell equals zero). Does anyone know of a way to embed another if formula to keep this from happening?
>
> thanks

You could do a nested if like so:

=IF(A3="","",(IF((A3-B3>0),A3-B3,"")) for the cut column

=IF(A3="","",(IF((A3-B3<0),ABS(A3-B3),"")) for the fill column

That will give you blanks in both cut and fill columns when the Hub column is blank.

 
Posted : October 7, 2010 9:51 am
(@plumb-bill)
Posts: 1597
Registered
Topic starter
 

Thanks for the help!

 
Posted : October 10, 2010 3:49 pm