Excel giving cells numbers based on the number in another cell - excel

Hope someone could help me out here. I am currently working in an Excel file where I have a cell with a number in there based on an IF formula it gives a number. Now I want let's say you have the number 5 in that cell, I want the cells underneath it to start counting from 1 to 5 (Or the value that's in the cell) but i cant really find a way to figure it out. So i hope you guys can help me
PS: Sorry for my English it's not my native language
Thank you
I tried to search on google but couldn't really find something about this

Related

Vlookup return a formula?

I am a teacher at a University. I am trying to make an attendance in excel for one semester.
I have almost finished but I have hit a problem that I can't find the answer to. I am trying to create a student lookup. Please see picture.
So I thought I would use vlookup taking it from the running total from my students list. However that total is a formula not a value number. I got that total by formula: to add each months total together and place the result there. I can't seem to get vlookup to return a formula just a vault number. The problem is as the semester ins't over that total keeps changing every lesson. So I need vlookup to work with that running total. I have looked for many hours on the net as I thought somebody must have a similae problem but I cant either not find or understand them. If you need the excel file for better understanding I would be happy to share it with you. Thanks in advance
The formula being returned is actually a text string that looks like a formula. You need some workaround to evaluate that formula.
Please share the worksheet so I can understand it better.
Meanwhile this link should be useful for you.
https://www.excelforum.com/excel-formulas-and-functions/1104076-can-you-use-vlookup-to-return-a-formula-instead-of-a-value.html

Excel Vlookup Fail Does not recognize letters

I'm trying to do a vlookup that looks at different letter ratings (AAA,+AA,AA,AA-,A+,A,A-,etc.) and give that letter rating a numeric value from 0 to 100 that is in an array in another worksheet. But for some reason, my vlookup doesnt seem to recognize the letter rating either in the main worksheet or in the reference table with the numeric scale in it. I'm not sure whats wrong. Please help!
I've attached my 2 worksheets in the following example:
https://expirebox.com/download/eacc6...95dbbe1a1.html
Thanks for the help!
Gabriel
P.S. The Vlookup is in column U of the spreadsheet
I wasn't able to open the link you provided.
TheSilkCode

Excel: I need to check if a range of cells contain a number >90, and if so, return a number from another range of cells

Here's my data. I'm actually trying to determine the day we hit the 90th percentile, so if you have a better idea, please suggest!! For the example below, we hit 90% (Column D) on the 5th day (column A). I'd like a formula that would return the number 5.
enter image description here
Sorry about the image. Im an extreme novice here and when I tried to enter my data in a table format, the columns wouldnt line up. I didnt realize an image was inappropriate but it's the only way I could convey my information. This wasn't mentioned in any of the screens I clicked through to post the question, otherwise I wouldn't have. I'll try to edit the table again and see if I can make it work.
You got a negative vote because it is not appropriate to give examples in images.
but as far as I understand, the formula is simple and should look like this:
=COUNTIF(D2:D27,"<90")
If you wish the value of 90 to me included you should write:
=COUNTIF(D2:D27,"<=90")
If your excel is 2007 and under:
=COUNTIF(D2:D27;"<90")

Using Excel Formulas to return the count of non zero in a column

I spent half the day racking my brain and playing around with the formulas i know of in the excel world but I still cannot figure out a method to do this without using VBA coding. Hopefully someone out here would be able to help provide some guidance without the use of code.
The scenario is this and refers to the screenshot above:
Objective: Determine the number of non zero values in a particular month's column for every row that has an "exceptions" label.
The month is controlled by the user input cell.
Example:
Total number of non zeros in Feb column is 6.
Actual result that I am expecting: 3 (because there are three rows with "exceptions" label and we should count the total of those rows only.)
I've tried Index/Match/Countifs/lookups but just cannot find the right combination.
Closest I came to was using the screenshot below but that only returns the total number of non zeros in that table.
Just putting the question out there for any of the excel gurus to help.
Appreciate the time and thanks in advance!
Regards,
Stan
If you do not want volatile functions like offset or indirect, you can still do it with index (your formula isn't wrong at all). Just try this:
=COUNTIFS(INDEX(F2:K7,,MATCH(G10,F1:K1,0)),">0",E2:E7,"exeptions")

Counting Cells in a Range that Contains Formulas, Only when a Date is Returned?

Frequent browser, first time poster. Please go easy:
I have spent the last few days searching online, and on here for a solution to a problem I have encountered for the first time. I have a report that pulls from multiple worksheets. One column is a formula that does a VLOOKUP to another sheet and pulls back a date, if it exists. I then have a cell at the top of the sheet that calculates how many dates are pulled back out of all of the rows (to calculate % complete). This is where I am having the problem. I have tried variations of COUNTIF, COUNTA, COUNTBLANK, and so on, and formulas trying to reverse calculate,
=SUM(C4)-COUNTIF(Table3[2014 Process Date],"")
At first it appeared to work, but in this example, I had 1949 rows, and dates only populated in 7 of those rows. In theory it should return 7. Instead it is returning 237. I have done multiple filters, and manually reviewed the data in the column, and only 7 dates are there. The column has the VLOOKUP in and IFERROR nest,
=IFERROR(VLOOKUP(A12,Table_TaxData.accdb3[#All],240,FALSE),"").
I am guessing I am overlooking something silly, and was hoping someone would be able to help steer me in the right direction, or let me know what I am missing. Thanks in advance for any help!
Wow, looks like I need some more coffee! Thank you, I guess I assumed that it would be much more complicated than that. I just threw in
=COUNT(Table3[2014 Process Date])
And it worked like a charm! Thanks again!
If I'm reading your formula correctly, the target cells hold either the DATE, or a blank "".
If so, you can do a COUNTIF and do this:
=COUNT(B:B)
to get # of dates.
or
=COUNTA(B:B)-COUNT(B:B)
to get # of blanks.
(I used column B, not sure where your final values are in you're looking for - adjust accordingly)

Resources