• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Solve excel calculations|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Solve excel calculations|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Solve excel calculations
sp_PrintTopic sp_TopicIcon
Solve excel calculations
Avatar
carlos sousa

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
March 4, 2021
sp_UserOfflineSmall Offline
1
March 4, 2021 - 5:01 pm
sp_Permalink sp_Print

Hello dear all,

Can someone please help me with this question?

On my excel file, I want to calculate all and only the percentages, like 0,00%, 5,00%, 50,00% and 100,00%, and not counting the other data like text or numbers.

The columns I need to be included in the average they could change depending on whether they have a % sign in them.

Please see my file attached.

 

Regards,

Thanks for your help

Carlos Sousa

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
March 4, 2021 - 7:23 pm
sp_Permalink sp_Print

Hello Carlos,

Sorry, no file attached.

Br,
Anders

Avatar
vk kumar

New Member
Members
Level 0
Forum Posts: 1
Member Since:
March 4, 2021
sp_UserOfflineSmall Offline
3
March 4, 2021 - 10:27 pm
sp_Permalink sp_Print sp_EditHistory

hey 

try this 

1. To find the position of a substring in a text string, use the SEARCH function.

2. Add the ISNUMBER function. The ISNUMBER function returns TRUE if a cell contains a number, and FALSE if not.

3. You can also check if a cell contains specific text, without displaying the substring. Make sure to enclose the substring in double quotation marks.

4. To perform a case-sensitive search, replace the SEARCH function with the FIND function.

5. Add the IF function. The formula below (case-insensitive) returns "Found" if a cell contains specific text, and "Not Found" if not.

6. You can also use IF and COUNTIF in Excel to check if a cell contains specific text. However, the COUNTIF function is always case-insensitive.

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
March 5, 2021 - 1:36 am
sp_Permalink sp_Print

Hi Carlos

You could try placing a helper column to check the format of each cell.

Example, in column B enter =CELL("format",A1)

It will return P0 if it is formatted as %

You can then use AVERAGEIFS() to calculate column A based on the format shown in column B (i.e. P0)

Hope this helps.

Sunny

Avatar
carlos sousa

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
March 4, 2021
sp_UserOfflineSmall Offline
5
March 5, 2021 - 2:18 am
sp_Permalink sp_Print sp_EditHistory

Dear all,

Can you take a look on the excel file, I try all this info, but still doesn't work or maybe I'm not doing well.

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
6
March 5, 2021 - 3:18 am
sp_Permalink sp_Print

Which cell is your expected answer? How did you derive at the answer?

Which columns are we expected to check against?

It it is not clear.

Avatar
carlos sousa

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
March 4, 2021
sp_UserOfflineSmall Offline
7
March 5, 2021 - 7:54 pm
sp_Permalink sp_Print

The cell is;

AG 7

AG 8

AG 9

And so on

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 617
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
8
March 5, 2021 - 10:14 pm
sp_Permalink sp_Print

It would be really easy if you could add an identifier to your column headers - eg use "Supports mounted %" as the header. You can then use:

=SUMIF($A$6:$AF$6,"*%",A7:AF7)

 

and fill down.

Avatar
carlos sousa

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
March 4, 2021
sp_UserOfflineSmall Offline
9
March 6, 2021 - 1:30 am
sp_Permalink sp_Print

Dear Veloria,

I did exactly as you explain above, but still have an error!

Could you please send the excel list with that formula?

 

Thanks for your help

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 617
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
10
March 6, 2021 - 2:59 am
sp_Permalink sp_Print

Here you are. I just added "%" to each header.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online:
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
Forum Stats:
Groups: 3
Forums: 24
Topics: 6215
Posts: 27248

 

Member Stats:
Guest Posters: 49
Members: 31897
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.