• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Count no of Poles as per setting

Juniad

Active Member
Hi, i have one sheet where i want to count the no of poles.. i want to fix the camera's on pole so no of camera's i will set in setting cell so based on setting cell i want to count the no of poles.
Exp:
in setting cell if i set 2 cameras per pole then whatever i enter in camera cell pole should be calculated automatically.

Attachment is available for further detail.
 

Attachments

  • Example.xlsx
    10.5 KB · Views: 8
Maybe change ROUND to ROUNDUP:

=IFERROR(ROUNDUP(IF(F4=2,G4/2,G4/F4+IF(MOD(G4,F4)>1,0,MOD(G4,F4))),0),"")
 
Hi Junaid,

If you can include your all inputs with expected results, it will be easy to share targeted answers.

You can also use Ceiling function:
=CEILING(G4/F4,1)

Regards,
 
Rounding up, the number of cameras you must be able to mount is
= CEILING(cameras, setting)
This requires
= CEILING(cameras, setting) / setting
poles. If you also wish to avoid showing errors when 'setting' is not input
= IF( setting, CEILING(cameras, setting) / setting, "" )
 
Last edited:
Back
Top