My Excel Challenge (May Require Macro Coding)

Rusty_Shackleford

New Member
Joined
May 28, 2015
Messages
1
So here's a little challenge I'm having that I don't think excel's default tool set is equipped to handle. If anyone can get this to work it would be very helpful to me. While I know a little computer logic, I don't know the language excel uses, and I haven't played around with the macro coding at all yet. I'm sure I could learn a lot from your solutions. :)

What I have:

http://www.dropbox.com/sh/2jubbthflerhbh2/AADPsNOTlM51op2zXy2UhIgua?dl=0


What I need to do:


-Cells under collumn labeled "Total Drawings In Folder" need to be equipped with a formula that will count the files in a folder when provided with that folder's path. The path will be assembled with data from the same row as explained below:


1. Reference the "File Path" cell for that row
2. Add "\"
3. Reference the "Sharepoint Folder Name" cell for that row
4. Add "\PDFs"


Example:


=M7&"\"&I7&"\PDFs"


You can find code to perform the file counting function here:


www.vbaexpress.com/kb/getarticle.php?kb_id=238


However this code did not allow me to use cell references (I7, A3, etc.) within the new formula it creates. It will have to be modified to allow for this, and I don't really know where to begin with that. Cells under collumn Labeled "Total Drawings In Folder" Should automatically update at least every session.


-"Sharepoint Folder Name" collumn should sort its content alphanumerically, and update whenever a new item is added to the collumn


Example:


536 should come before A36
150B140 should come before 150C120

There might be a way to do this with excel's default tool set, but once again, I don't really know where to begin to look.


-Ideally, the collumns should be able to be extended indefinitely by simple copy-pasting of cells without requiring any rewriting of formulae. If this condition can't be satisfied, the formulae can can be set to function down to row 2000.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,214,553
Messages
6,120,176
Members
448,948
Latest member
spamiki

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