converting mb to tb

Hello, I have 3 cells each one of the cells receives certain amount of numbers in MB, GB, and TB. I want to create another cell to sum all the entries in these cells as a total and give the answer in TB. I appreciate your help.
Ajjan MAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roy CoxGroup Finance ManagerCommented:
You can't put a formula in TB without overwriting the value that is there. Also what row applies?
0
zvitamConsultantCommented:
Suppose you have MB amount in cell A1, GB amount in cell A2, and TB amount in cell A3.

The sum will be in A4 and the formula will be: =A1/1000000+A2/1000+A3

that will be corrent since 1TB = 1000000 MB, and 1TB = 1000GB.

Hote that helps'
Zvitam.
0
Ajjan MAuthor Commented:
I'm afraid I didn't get your question well. what do you mean by overwriting the value? I added a screen shot of sample to what I asked it might look easier than writing the question.
Screen-Shot-2018-03-13-at-11.39.09.png
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Roy CoxGroup Finance ManagerCommented:
I thought MB etc was Column References.

You cannot sum those values because they are not numbers - they contain text.

Attach the workbook and I'll amen it so that the sum will work.
0
Ajjan MAuthor Commented:
I uploaded the workbook.
Book1.xlsx
0
EirmanChief Operations ManagerCommented:
There are some solutions to adding mixed kb  mb & gb values here
0
Roy CoxGroup Finance ManagerCommented:
I've added Custom NumberFormats so you enter numbers and the letters appear. This will not affect the sum formula because it is formatting not actual letters.

This article might help you understand
Book1--4-.xlsx
0
zvitamConsultantCommented:
You can just sum the values you have to divide it as I state in my comment earlier.
0
Roy CoxGroup Finance ManagerCommented:
zvitam

You cannot sum those entries because they contain text!
0
Rob HensonFinance AnalystCommented:
And strictly speaking, it is not a direct 1,000 factoring.

1MB = 1024KB,
1GB = 1024MB,
1TB = 1024GB

However, the publicly recognised factoring is 1000
1
zvitamConsultantCommented:
Roy cox: You can since that text is part of the cell custom format, and not the cell value.

Following Rob Henson good comment I correct what I wrote earlier:

The sum will be in A4 and the formula will be: =A1/1048576+A2/1024+A3

that will be corrent since 1TB = 1048576 MB, and 1TB =1024GB.
0
Roy CoxGroup Finance ManagerCommented:
It isn't in the original workbook, I added Custom NumberFormats
0
Rob HensonFinance AnalystCommented:
Try this:

=SUM(LEFT(C3,FIND(" ",C3))/1048576,LEFT(D3,FIND(" ",D3))/1024,LEFT(E3,FIND(" ",E3)*1))

This assumes there will be a space between the value and the letters. If not we could allow for that and tell the find to look for the B instead.

=SUM(LEFT(C3,SEARCH("B",C3,1)-2)/1048576,LEFT(D3,SEARCH("B",D3,1)-2)/1024,LEFT(E3,SEARCH("B",E3,1)-2)*1))

SEARCH is not case sensitive so will look for B and b. Technically Mb is megabits rather than megabytes but I don't believe that is an issue in this scenario.

With sample, expand the result to 3 decimal places and you get 3.029

You can add custom formatting as per Roy's suggestion so that it shows as 3.029 TB but  can still be used as a number.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ajjan MAuthor Commented:
@Rob Hensen, it is giving me "there is a problem with this formula"
0
Rob HensonFinance AnalystCommented:
Probably the brackets, I will have a look.
0
Rob HensonFinance AnalystCommented:
As I thought, there was an extra bracket at the end, try this:

=SUM(LEFT(C3,SEARCH("B",C3,1)-2)/1048576,LEFT(D3,SEARCH("B",D3,1)-2)/1024,LEFT(E3,SEARCH("B",E3,1)-2)*1)
0
Saqib Husain, SyedEngineerCommented:
This ARRAY formula will check for the units and then add the numbers accordingly

=SUM(VALUE(LEFT(C3:G3&"0 TB",FIND("B",C3:G3&"0 TB")-2))/CHOOSE(INT((CODE(MID(C3:G3&"0 TB",FIND("B",C3:G3&"0 TB")-1,1))-63)/7),1024,1048576,1))
0
Rob HensonFinance AnalystCommented:
Covers author's requirement
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.