Drag error

alliswell

Board Regular
Joined
Mar 16, 2020
Messages
190
Office Version
  1. 2007
Platform
  1. Windows
  2. Mobile
BBS Progrem.xlsx
BCDEFGHIJKLMNOPQRSTUV
6S/NoDescriptionFooting SizeSpacing of barDia of barNos.of unitsNos. of bar each unitTotal Nos. of barsCutt. LengthABCShap of barTotal Length of bar (dia wise)
78mm10mm12mm16mm20mm25mm
81F-1 Footing (Shorter length)2800260040015025111920929502502450250     616.6
92F-1 Footing (Longer Length)2800260040015025111718731502502650250     589.1
10
11
12
13
14
15
1619
Sheet1
Cell Formulas
RangeFormula
J8J8=ROUND(N9/G8,0)+1
K8:K9K8=I8*J8
J9J9=ROUND(N8/G9,0)+1
Q8:V9Q8=IF($H8&"mm"=Q$7,$L8*$K8/1000,"")
J16J16=IF((N9+G8)>0,ROUND(N9/G8,0)+1,"")


when i drag j16 formula below, it displays 1. can anybody resolve ?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I think if it is dragged to cell J17 it will be 1 because the position changes to "ROUND(N10/G9,0)" and will produce 0, and at the end of the formula there is an additional +1, so the result is 1

and if in cell "J18" it becomes an error because dividing empty cells by empty cells produces an error
 
Upvote 0
I think if it is dragged to cell J17 it will be 1 because the position changes to "ROUND(N10/G9,0)" and will produce 0, and at the end of the formula there is an additional +1, so the result is 1

and if in cell "J18" it becomes an error because dividing empty cells by empty cells produces an error
how do i resolve it
 
Upvote 0
output shud be blank until and unless no data is in column G and Column N. once i input data, it must give result

thanks & regards
Try This

Excel Formula:
=IFERROR(IF((IF(N9="","",N9)+IF(G8="","",G8))>0,ROUND(N9/G8,0)+1,""),"")
 
Upvote 0
@alliswell
wait, what if the situation

G8 = 150
And
N9 = Blank

what will the result be? Blank? 150/151?
the formula you sent is working fine. thanks and love bro. Just one situation i came across by closely seeing in the cell hope you may resolve.
the situation is n9 gets divided by G8 and N8 gets divided by G9. so how to drag formulas down. if it gets resolved the formula is excellent. coz both resulting cells of J8 & J9 have little different formula.

Thanks, regards and love.

BBS Progrem.xlsx
BCDEFGHIJKLMNOPQRSTUV
6S/NoDescriptionFooting SizeSpacing of barDia of barNos.of unitsNos. of bar each unitTotal Nos. of barsCutt. LengthABCShap of barTotal Length of bar (dia wise)
7LWD8mm10mm12mm16mm20mm25mm
81F-1 Footing (Shorter length)2800260040015025111920929502502450250     616.55
92F-1 Footing (Longer Length)2800260040015025111718731502502650250     589.05
Sheet1
Cell Formulas
RangeFormula
J8J8=IFERROR(IF((IF(N9="","",N9)+IF(G8="","",G8))>0,ROUND(N9/G8,0)+1,""),"")
K8K8=IF(COUNT(I8:J8)=2,I8*J8,"")
J9J9=IFERROR(IF((IF(N8="","",N8)+IF(G9="","",G9))>0,ROUND(N8/G9,0)+1,""),"")
K9K9=I9*J9
Q8:V9Q8=IF($H8&"mm"=Q$7,$L8*$K8/1000,"")
 
Upvote 0

Forum statistics

Threads
1,215,201
Messages
6,123,621
Members
449,109
Latest member
Sebas8956

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