Problem Formula.

Earlchico

New Member
Joined
Dec 2, 2019
Messages
14
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi, Would I be able to email a file to someone to write my formula?

Thanks.
 
Is this what your after.....
VBA Code:
=IF(A3="","",SUMPRODUCT(1*MID(A3,ROW(INDIRECT("1:"&LEN(A3))),1)))

=IF(B3="","",SUMPRODUCT(1*MID(B3,ROW(INDIRECT("1:"&LEN(B3))),1)))

=IF(C3="","",SUMPRODUCT(1*MID(C3,ROW(INDIRECT("1:"&LEN(C3))),1)))


Drag down as required
 
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Is this what your after.....
VBA Code:
=IF(A3="","",SUMPRODUCT(1*MID(A3,ROW(INDIRECT("1:"&LEN(A3))),1)))

=IF(B3="","",SUMPRODUCT(1*MID(B3,ROW(INDIRECT("1:"&LEN(B3))),1)))

=IF(C3="","",SUMPRODUCT(1*MID(C3,ROW(INDIRECT("1:"&LEN(C3))),1)))


This is it Michael this sums all the quantity per Bin..........Now I would like to add
all the totals of these Boxes, E2...... Skids F2.... Filing Cabinets EG ...this is a pretty simple formula for you to write?

This way I can see how many I have of each per Bin, and the total of each for all sites.

Thanks again, much appreciated.
 
Last edited:
Upvote 0
Go to the last row plus 1 in each column and then click on
Editing>> Autosum>>Enter
 
Upvote 0
Hi Earlchico,

in columns A to C, does each digit stand for an indivual skid, box or filing cabinet? In other words, do these columns hold other values than reapeated 1? If not, why not use:

Code:
=LEN(A3)
as it would provide your desired result with the data you gave us.

Regards,
Elaszat

Edit: Somehow my browser didn't display the posts after post #10. Apologies for redundancy.
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,183
Members
449,071
Latest member
cdnMech

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