How to copy data between sheets in workbook.. with a twist

goby

New Member
Joined
Jul 27, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Preface: I am new to Excel so go easy on me if there is a very simple solution. However, I do not understand VBA well enough to ask Google the correct questions.

I have attached a couple of screen shots of some totally arbitrary tables I created for a visual example.

I have a workbook containing two sheets. Sheet1 contains information regarding transactions. Sheet2 is meant to invoice the transactions from Sheet1 based on customers name and date range. However, Sheet2 is in a different format and requires only certain cell values from Sheet1.

Hopefully this isn't too vague. Please let me know if there are any other details I can provide.

Thanks!
 

Attachments

  • Sheet1.png
    Sheet1.png
    13.2 KB · Views: 17
  • Sheet2.png
    Sheet2.png
    13.8 KB · Views: 18

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
May be
Farmula Filter Apply in Cell B6
Excel Formula:
=FILTER(Sheet1!D2:D5,Sheet1!F2:F5=Sheet2!B1,"NA")
And in Cell C6
Excel Formula:
=FILTER(Sheet1!E2:E5,Sheet1!F2:F5=Sheet2!B1,"NA")
In Cell D6
Excel Formula:
=FILTER(Sheet1!C2:C5,Sheet1!F2:F5=Sheet2!B1,"NA")
 
Upvote 0
May be
Farmula Filter Apply in Cell B6
Excel Formula:
=FILTER(Sheet1!D2:D5,Sheet1!F2:F5=Sheet2!B1,"NA")
And in Cell C6
Excel Formula:
=FILTER(Sheet1!E2:E5,Sheet1!F2:F5=Sheet2!B1,"NA")
In Cell D6
Excel Formula:
=FILTER(Sheet1!C2:C5,Sheet1!F2:F5=Sheet2!B1,"NA")
Thank you, @Kalim Shaikh! This seems to have done the trick in parsing and pulling the information that I need. However, the date portion I am still having trouble conceptualizing. I would like to be able to specify a range of dates (ex: 7/24/2023-7/29/2023) and based on that date range, the rest of the formulas in the sheet will run but only pull information within those date ranges.

Thanks!
 
Upvote 0
Had trouble finding such a direct solution but could do so as an alternative you can do it below
May be. Use is another cell
Excel Formula:
=MIN(IF(F2:F5=K1,A2:A5))
and this on a cell
Excel Formula:
=MAX(IF(F2:F5=K1,A2:A5))

and combine them into 1 cell by using this farmula.
Excel Formula:
=CONCATENATE(TEXT(K2,"MM/DD/YYYY")," - ",TEXT(K3,"MM/DD/YYYY"))
 
Upvote 0

Forum statistics

Threads
1,215,088
Messages
6,123,056
Members
449,091
Latest member
ikke

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