Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello All,
I need help, I have 2 columns, all the first digits in Hex/Code column (0,1,2) and (6,7,8) then calculate the sum of the size, for example, in A2, A3, A4 and A8 has first digit of (0,1,2) then we calculate the sum of size B2,B3,B4 and B8 is 170 Also for (6,7,8) we do the same and the total size for (6,7,8) is 311 Hex/Code size(GB) 0034 45 1101 35 20A1 34 630C 98 7034 101 8145 23 2000 56 6123 89 Thanks in advance all, Deiow |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assuming that your hex codes are text strings:
=SUMPRODUCT((LEFT(A2:A9)={"0","1","2"})*B2:B9) =SUMPRODUCT((LEFT(A2:A9)={"6","7","8"})*B2:B9) -- Biff Microsoft Excel MVP "Deiow" wrote in message ... Hello All, I need help, I have 2 columns, all the first digits in Hex/Code column (0,1,2) and (6,7,8) then calculate the sum of the size, for example, in A2, A3, A4 and A8 has first digit of (0,1,2) then we calculate the sum of size B2,B3,B4 and B8 is 170 Also for (6,7,8) we do the same and the total size for (6,7,8) is 311 Hex/Code size(GB) 0034 45 1101 35 20A1 34 630C 98 7034 101 8145 23 2000 56 6123 89 Thanks in advance all, Deiow |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks T. Valko, appreciated your help, the formal is working wonderfull.
Very happy now, no more manual calculation Thanks Again Deiow "T. Valko" wrote: Assuming that your hex codes are text strings: =SUMPRODUCT((LEFT(A2:A9)={"0","1","2"})*B2:B9) =SUMPRODUCT((LEFT(A2:A9)={"6","7","8"})*B2:B9) -- Biff Microsoft Excel MVP "Deiow" wrote in message ... Hello All, I need help, I have 2 columns, all the first digits in Hex/Code column (0,1,2) and (6,7,8) then calculate the sum of the size, for example, in A2, A3, A4 and A8 has first digit of (0,1,2) then we calculate the sum of size B2,B3,B4 and B8 is 170 Also for (6,7,8) we do the same and the total size for (6,7,8) is 311 Hex/Code size(GB) 0034 45 1101 35 20A1 34 630C 98 7034 101 8145 23 2000 56 6123 89 Thanks in advance all, Deiow |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "Deiow" wrote in message ... Thanks T. Valko, appreciated your help, the formal is working wonderfull. Very happy now, no more manual calculation Thanks Again Deiow "T. Valko" wrote: Assuming that your hex codes are text strings: =SUMPRODUCT((LEFT(A2:A9)={"0","1","2"})*B2:B9) =SUMPRODUCT((LEFT(A2:A9)={"6","7","8"})*B2:B9) -- Biff Microsoft Excel MVP "Deiow" wrote in message ... Hello All, I need help, I have 2 columns, all the first digits in Hex/Code column (0,1,2) and (6,7,8) then calculate the sum of the size, for example, in A2, A3, A4 and A8 has first digit of (0,1,2) then we calculate the sum of size B2,B3,B4 and B8 is 170 Also for (6,7,8) we do the same and the total size for (6,7,8) is 311 Hex/Code size(GB) 0034 45 1101 35 20A1 34 630C 98 7034 101 8145 23 2000 56 6123 89 Thanks in advance all, Deiow |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reset Text Direction in Formal Cells Menu | Excel Discussion (Misc queries) | |||
Help getting output value from another sheet | Excel Discussion (Misc queries) | |||
VBA - Function Output | Excel Discussion (Misc queries) | |||
How do I get the output summary? | Charts and Charting in Excel | |||
Formating output. | Excel Discussion (Misc queries) |