We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel Formula Explanation Required
Options

choyaa
Posts: 226 Forumite
in Techie Stuff
Hi,
I'm looking at a spreadsheet that someone else has setup, the following formula exists within it, can someone advise exactly what it means please?
=MEDIAN(IF(peer=$B3,IF(tcomp>0, tcomp)))
I'm looking at a spreadsheet that someone else has setup, the following formula exists within it, can someone advise exactly what it means please?
=MEDIAN(IF(peer=$B3,IF(tcomp>0, tcomp)))
0
Comments
-
It may help if you could give some context. Is this for a t-test?0
-
My guess is that 'peer' and 'tcomp' are named ranges in the spreadsheet, so if 'peer' is equal to the content of $b3, and tcomp is greater than zero, then it returns the median of the range of values in tcomp, otherwise it returns zero.
I'm not exactly sure how a named range 'peer' could equal a single cell value, but I'm not an Excel expert.0 -
Do you know what tcomp refers to on the spreadsheet?0
-
If you click on "Formula" on the menu tab and then on Name Manager, it should show you a list of defined names and/or ranges, hopefully amongst which you will find "peer" and "tcomp"0
-
Agree with the named ranges, only thing to add tcomp range could relate to some kind of tax computation within the spreadsheet?0
-
droopsnoot wrote: »My guess is that 'peer' and 'tcomp' are named ranges in the spreadsheet, so if 'peer' is equal to the content of $b3, and tcomp is greater than zero, then it returns the median of the range of values in tcomp, otherwise it returns zero.
I'm not exactly sure how a named range 'peer' could equal a single cell value, but I'm not an Excel expert.
that single cell could itself be a calculation0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.9K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.9K Work, Benefits & Business
- 598.7K Mortgages, Homes & Bills
- 176.9K Life & Family
- 257.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards