Hi,
I need some help with an excel spreadsheet I'm building.
I've got a database which shows how much data each employee within the company has on their company mobile phone, but the layout provided from EE is awful, sometimes it might say "8GB Data & Wifi" other times it might say "4gEE Data 2GB". I want to create a formula which can be used to extract how many GB of data bolt on each employee has, and exclude everything else from the text,
Ideally I need a formula which will only pull the first 3 characters before "GB". (I think it needs to be 3 characters as some employees will be more than 10GB of data)
I've already tried using =LEFT =RIGHT but because the position changes constantly these aren't suitable. I attempted using =LEFT combined with =SEARCH but im still not getting the answer I want (See table below)
Any help is much appreciated! I feel like I'm close but something isn't quiet right!....
I need some help with an excel spreadsheet I'm building.
I've got a database which shows how much data each employee within the company has on their company mobile phone, but the layout provided from EE is awful, sometimes it might say "8GB Data & Wifi" other times it might say "4gEE Data 2GB". I want to create a formula which can be used to extract how many GB of data bolt on each employee has, and exclude everything else from the text,
Ideally I need a formula which will only pull the first 3 characters before "GB". (I think it needs to be 3 characters as some employees will be more than 10GB of data)
I've already tried using =LEFT =RIGHT but because the position changes constantly these aren't suitable. I attempted using =LEFT combined with =SEARCH but im still not getting the answer I want (See table below)
Book1 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Current Bolt on Value | Formula Used | Result from Formula | Result wanted | ||
2 | 4GEE Data 2GB | LEFT(E7,SEARCH("GB",E7)-1) | 4GEE Data 2 | 2GB | ||
3 | 8GB Data and WiFi | LEFT(E8,SEARCH("GB",E8)-1) | 8 | 8GB | ||
4 | 4GEE Data 2GB | LEFT(E8,SEARCH("GB",E8)-1) | 4GEE Data 2 | 2GB | ||
5 | 16GB Data and WiFi | LEFT(E8,SEARCH("GB",E8)-1) | 16 | 16GB | ||
Sheet1 |
Any help is much appreciated! I feel like I'm close but something isn't quiet right!....
Last edited by a moderator: