loop through each sheet last row

Status
Not open for further replies.

Prabhudharun

New Member
Joined
Feb 22, 2018
Messages
7
Hi,

I have n number of sheets in the workbook. Sheet 1 contains Customer name on column A, Sales amount on column B.

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Customer Name[/TD]
[TD]Sales Amount[/TD]
[/TR]
[TR]
[TD]Srinivasan[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Prabhu[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]N number or Rows[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]









sheet 2 name is Srinivasan and last row of Column D has sales amount

[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]10/8/2019[/TD]
[TD]500[/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]12/8/2019[/TD]
[TD]300[/TD]
[TD]800[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]13/8/2019[/TD]
[TD]400[/TD]
[TD]1200[/TD]
[/TR]
</tbody>[/TABLE]







sheet 3 name is Prabhu and last row of column D has sales Amount

[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]15/8/2019[/TD]
[TD]2000[/TD]
[TD]2000[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]16/8/2019[/TD]
[TD]1000[/TD]
[TD]3000[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]17/8/2019[/TD]
[TD]500[/TD]
[TD]3500[/TD]
[/TR]
</tbody>[/TABLE]







N number of sheets has the sales amount on last row of Column D.

now i need, in sheet 1, against each customer sales amount on column B.

Any help would be much apreciated.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Duplicate https://www.mrexcel.com/forum/excel...gh-each-last-row-post5341084.html#post5341084

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).

If you do not receive a response, you can "bump" it by replying to it again, though we advise you to wait 24 hours before doing and not to bump a thread more than once a day.

 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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