Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a workbook with 2 tabs
The 1st tab has the following info A B C Level Acct Dollars 1 3 AAAAA 1,631,276.63 2 2 BBBBB 8,879,065.02 3 1 BBBBB 86.57 4 3 BBBBB 234,986.25 The second tab has the following info: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 2 AAAAA 3 CCCCC I want to combine a vlook up and an if statement to populate the above tab to look like: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 86.57 8,879,065.02 234,986.25 2 AAAAA 1,631,276.63 3 CCCCC ANY HELP WOULD BE GREATLY APPRECIATED. -- Thanks ETC |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
A pivot table would do just what you want, with the Acct values in the rows
and the Levels for the columns. Dollars for data "Sweetetc" wrote: I have a workbook with 2 tabs The 1st tab has the following info A B C Level Acct Dollars 1 3 AAAAA 1,631,276.63 2 2 BBBBB 8,879,065.02 3 1 BBBBB 86.57 4 3 BBBBB 234,986.25 The second tab has the following info: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 2 AAAAA 3 CCCCC I want to combine a vlook up and an if statement to populate the above tab to look like: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 86.57 8,879,065.02 234,986.25 2 AAAAA 1,631,276.63 3 CCCCC ANY HELP WOULD BE GREATLY APPRECIATED. -- Thanks ETC |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Duke
Unfortunately the Pivot table will not work as I have additional data in the second Tab Worksheet. So I need to match up via a look up by account to populate the different levels. Can you think of any other way? -- Thanks ETC "Duke Carey" wrote: A pivot table would do just what you want, with the Acct values in the rows and the Levels for the columns. Dollars for data "Sweetetc" wrote: I have a workbook with 2 tabs The 1st tab has the following info A B C Level Acct Dollars 1 3 AAAAA 1,631,276.63 2 2 BBBBB 8,879,065.02 3 1 BBBBB 86.57 4 3 BBBBB 234,986.25 The second tab has the following info: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 2 AAAAA 3 CCCCC I want to combine a vlook up and an if statement to populate the above tab to look like: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 86.57 8,879,065.02 234,986.25 2 AAAAA 1,631,276.63 3 CCCCC ANY HELP WOULD BE GREATLY APPRECIATED. -- Thanks ETC |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sure - create the pivot table as described, then use that as the lookup
table, not your original source data "Sweetetc" wrote: Duke Unfortunately the Pivot table will not work as I have additional data in the second Tab Worksheet. So I need to match up via a look up by account to populate the different levels. Can you think of any other way? -- Thanks ETC "Duke Carey" wrote: A pivot table would do just what you want, with the Acct values in the rows and the Levels for the columns. Dollars for data "Sweetetc" wrote: I have a workbook with 2 tabs The 1st tab has the following info A B C Level Acct Dollars 1 3 AAAAA 1,631,276.63 2 2 BBBBB 8,879,065.02 3 1 BBBBB 86.57 4 3 BBBBB 234,986.25 The second tab has the following info: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 2 AAAAA 3 CCCCC I want to combine a vlook up and an if statement to populate the above tab to look like: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 86.57 8,879,065.02 234,986.25 2 AAAAA 1,631,276.63 3 CCCCC ANY HELP WOULD BE GREATLY APPRECIATED. -- Thanks ETC |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks
I was hoping to do a one step process but that will work -- Thanks ETC "Duke Carey" wrote: Sure - create the pivot table as described, then use that as the lookup table, not your original source data "Sweetetc" wrote: Duke Unfortunately the Pivot table will not work as I have additional data in the second Tab Worksheet. So I need to match up via a look up by account to populate the different levels. Can you think of any other way? -- Thanks ETC "Duke Carey" wrote: A pivot table would do just what you want, with the Acct values in the rows and the Levels for the columns. Dollars for data "Sweetetc" wrote: I have a workbook with 2 tabs The 1st tab has the following info A B C Level Acct Dollars 1 3 AAAAA 1,631,276.63 2 2 BBBBB 8,879,065.02 3 1 BBBBB 86.57 4 3 BBBBB 234,986.25 The second tab has the following info: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 2 AAAAA 3 CCCCC I want to combine a vlook up and an if statement to populate the above tab to look like: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 86.57 8,879,065.02 234,986.25 2 AAAAA 1,631,276.63 3 CCCCC ANY HELP WOULD BE GREATLY APPRECIATED. -- Thanks ETC |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Any idea why my Dollar values when doing the pivot tables are coming up with
a function ie (count, sum product min, max etc.) How do I just get the value -- Thanks ETC "Sweetetc" wrote: Thanks I was hoping to do a one step process but that will work -- Thanks ETC "Duke Carey" wrote: Sure - create the pivot table as described, then use that as the lookup table, not your original source data "Sweetetc" wrote: Duke Unfortunately the Pivot table will not work as I have additional data in the second Tab Worksheet. So I need to match up via a look up by account to populate the different levels. Can you think of any other way? -- Thanks ETC "Duke Carey" wrote: A pivot table would do just what you want, with the Acct values in the rows and the Levels for the columns. Dollars for data "Sweetetc" wrote: I have a workbook with 2 tabs The 1st tab has the following info A B C Level Acct Dollars 1 3 AAAAA 1,631,276.63 2 2 BBBBB 8,879,065.02 3 1 BBBBB 86.57 4 3 BBBBB 234,986.25 The second tab has the following info: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 2 AAAAA 3 CCCCC I want to combine a vlook up and an if statement to populate the above tab to look like: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 86.57 8,879,065.02 234,986.25 2 AAAAA 1,631,276.63 3 CCCCC ANY HELP WOULD BE GREATLY APPRECIATED. -- Thanks ETC |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() The pivot table would work but if you wanted, you could use the SUMPRODUCT function. In cell B2 of Sheet2! enter in: =SUMPRODUCT(--(Sheet1!$A$1:$A$100=1),--(Sheet1!$B$1:$B$100=Sheet2!$A2),Sheet1!$C$1:$C$100 ) Copy this down your list of account numbers and then accross your level columns. Just change the 1 in [Sheet1!$A$1:$A$100=1] to match the level (2,3 etc..) in your column headings. Regards, Steve -- SteveG ------------------------------------------------------------------------ SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571 View this thread: http://www.excelforum.com/showthread...hreadid=538117 |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Steve
Would I use that somehow in conjunction with the vlookup in order to match up the accounts? There is more data in Sheet 2 than I have listed. -- Thanks ETC "SteveG" wrote: The pivot table would work but if you wanted, you could use the SUMPRODUCT function. In cell B2 of Sheet2! enter in: =SUMPRODUCT(--(Sheet1!$A$1:$A$100=1),--(Sheet1!$B$1:$B$100=Sheet2!$A2),Sheet1!$C$1:$C$100 ) Copy this down your list of account numbers and then accross your level columns. Just change the 1 in [Sheet1!$A$1:$A$100=1] to match the level (2,3 etc..) in your column headings. Regards, Steve -- SteveG ------------------------------------------------------------------------ SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571 View this thread: http://www.excelforum.com/showthread...hreadid=538117 |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It works thanks
-- Thanks ETC "SteveG" wrote: The pivot table would work but if you wanted, you could use the SUMPRODUCT function. In cell B2 of Sheet2! enter in: =SUMPRODUCT(--(Sheet1!$A$1:$A$100=1),--(Sheet1!$B$1:$B$100=Sheet2!$A2),Sheet1!$C$1:$C$100 ) Copy this down your list of account numbers and then accross your level columns. Just change the 1 in [Sheet1!$A$1:$A$100=1] to match the level (2,3 etc..) in your column headings. Regards, Steve -- SteveG ------------------------------------------------------------------------ SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571 View this thread: http://www.excelforum.com/showthread...hreadid=538117 |
#10
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Not mine
It is defaulting to count dollars, with no opton for value of dollar -- Thanks ETC "Duke Carey" wrote: A pivot table would do just what you want, with the Acct values in the rows and the Levels for the columns. Dollars for data "Sweetetc" wrote: I have a workbook with 2 tabs The 1st tab has the following info A B C Level Acct Dollars 1 3 AAAAA 1,631,276.63 2 2 BBBBB 8,879,065.02 3 1 BBBBB 86.57 4 3 BBBBB 234,986.25 The second tab has the following info: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 2 AAAAA 3 CCCCC I want to combine a vlook up and an if statement to populate the above tab to look like: A B C D Acct Level 1 Level 2 Level 3 1 BBBBB 86.57 8,879,065.02 234,986.25 2 AAAAA 1,631,276.63 3 CCCCC ANY HELP WOULD BE GREATLY APPRECIATED. -- Thanks ETC |
#11
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Select the data source and go to Pivot tables.
In the drop row field select account, in the drop column field select Level.In the drop data items select dollars Regards, Karthik |
#12
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
KarThik
Unfortunately the Pivot table will not work as I have additional data in the second Tab Worksheet. So I need to match up via a look up by account to populate the different levels. Can you think of any other way? -- Thanks ETC "Karthik" wrote: Select the data source and go to Pivot tables. In the drop row field select account, in the drop column field select Level.In the drop data items select dollars Regards, Karthik |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|