Help with formula please

lvcourtney

New Member
Joined
Oct 3, 2012
Messages
10
So this is what I am dealing with. When I start, only column N is filled in. I have to calculate 2 different markup prices in the columns to the left. My problem is, the file is many pages long and column N sometimes has blank fields or text, as you can see, so I am unable to just copy a formula to an entire column without getting a bunch of #VALUE's.




Is there a way of writing the formula so that, for M4 for example:

if there is a number in N4, then M4=N4/.55
if N4 is blank, then M4 is blank
if N4 has text, M4=that text?

THANK YOU!!!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Using your conditions...
if there is a number in N4, then M4=N4/.55
if N4 is blank, then M4 is blank
if N4 has text, M4=that text?

Code:
=if(isnumber(n4), n4/.55,"")
That only calculates n4/.55 if n4 is a number, otherwise if blank or text, it returns blank


So this is what I am dealing with. When I start, only column N is filled in. I have to calculate 2 different markup prices in the columns to the left. My problem is, the file is many pages long and column N sometimes has blank fields or text, as you can see, so I am unable to just copy a formula to an entire column without getting a bunch of #VALUE's.




Is there a way of writing the formula so that, for M4 for example:

if there is a number in N4, then M4=N4/.55
if N4 is blank, then M4 is blank
if N4 has text, M4=that text?

THANK YOU!!!
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

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